mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 15:00:09 +01:00
119 lines
3.5 KiB
Plaintext
119 lines
3.5 KiB
Plaintext
[gd_scene load_steps=10 format=2]
|
|
|
|
[ext_resource path="res://view_gui.tscn" type="PackedScene" id=1]
|
|
|
|
[sub_resource type="Animation" id=1]
|
|
length = 6.0
|
|
loop = true
|
|
tracks/0/type = "value"
|
|
tracks/0/path = NodePath("Camera:transform")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/keys = {
|
|
"times": PoolRealArray( 0, 2, 4, 6 ),
|
|
"transitions": PoolRealArray( 1, 1, 1, 1 ),
|
|
"update": 0,
|
|
"values": [ Transform( 0.994592, 0, 0.103856, 0, 1, 0, -0.103856, 0, 0.994592, 0.465682, 0, 1.78523 ), Transform( 0.962984, 0, -0.269557, 0, 1, 0, 0.269557, 0, 0.962984, -0.462237, 0, 2.41934 ), Transform( 0.806599, 0, -0.591098, 0, 1, 0, 0.591098, 0, 0.806599, -1.59502, 0, 2.05358 ), Transform( 0.994592, 0, 0.103856, 0, 1, 0, -0.103856, 0, 0.994592, 0.465682, 0, 1.78523 ) ]
|
|
}
|
|
|
|
[sub_resource type="PlaneMesh" id=2]
|
|
|
|
[sub_resource type="GDScript" id=3]
|
|
script/source = "tool
|
|
extends Object
|
|
func e():
|
|
return 0
|
|
"
|
|
|
|
[sub_resource type="GDScript" id=4]
|
|
script/source = "tool
|
|
extends Object
|
|
func e():
|
|
return 90
|
|
"
|
|
|
|
[sub_resource type="GDScript" id=5]
|
|
script/source = "tool
|
|
extends Object
|
|
func e():
|
|
return 0
|
|
"
|
|
|
|
[sub_resource type="CubeMesh" id=6]
|
|
|
|
[sub_resource type="SpatialMaterial" id=7]
|
|
albedo_color = Color( 0.722656, 0.791992, 1, 1 )
|
|
roughness = 0.0
|
|
|
|
[sub_resource type="GDScript" id=8]
|
|
script/source = "tool
|
|
extends Object
|
|
func e():
|
|
return 0
|
|
"
|
|
|
|
[node name="gui_in_3d" type="Spatial"]
|
|
|
|
[node name="view_gui" parent="." instance=ExtResource( 1 )]
|
|
|
|
[node name="Camera" type="Camera" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 0.999999, 0, 0, 3 )
|
|
fov = 74.0
|
|
near = 0.1
|
|
|
|
[node name="OmniLight" type="OmniLight" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.38866, 1.2413, 2.72141 )
|
|
shadow_enabled = true
|
|
omni_range = 10.0
|
|
|
|
[node name="Camera_Move" type="AnimationPlayer" parent="."]
|
|
autoplay = "Move_camera"
|
|
playback_speed = 0.25
|
|
anims/Move_camera = SubResource( 1 )
|
|
|
|
[node name="3D_background" type="Spatial" parent="."]
|
|
|
|
[node name="Wall" type="MeshInstance" parent="3D_background"]
|
|
transform = Transform( 4, 0, 0, 0, -1.74846e-007, -4, 0, 4, -1.74846e-007, -2.60819, 0.589247, -2.08943 )
|
|
mesh = SubResource( 2 )
|
|
material/0 = null
|
|
script = SubResource( 3 )
|
|
|
|
[node name="Wall2" type="MeshInstance" parent="3D_background"]
|
|
transform = Transform( 4, 0, 0, 0, -1.74846e-007, -4, 0, 4, -1.74846e-007, 5.08055, 0.589247, -2.08943 )
|
|
mesh = SubResource( 2 )
|
|
material/0 = null
|
|
script = SubResource( 3 )
|
|
|
|
[node name="Wall3" type="MeshInstance" parent="3D_background"]
|
|
transform = Transform( -1.74846e-007, -4, 0, -1.74846e-007, 7.64274e-015, -4, 4, -1.74846e-007, -1.74846e-007, 9.04446, 0.589247, 1.62058 )
|
|
mesh = SubResource( 2 )
|
|
material/0 = null
|
|
script = SubResource( 4 )
|
|
|
|
[node name="Floor" type="MeshInstance" parent="3D_background"]
|
|
transform = Transform( 4, 0, 0, 0, 4, 0, 0, 0, 4, -2.60819, -2.68765, 1.46502 )
|
|
mesh = SubResource( 2 )
|
|
material/0 = null
|
|
script = SubResource( 5 )
|
|
|
|
[node name="Floor2" type="MeshInstance" parent="3D_background"]
|
|
transform = Transform( 4, 0, 0, 0, 4, 0, 0, 0, 4, 5.08055, -2.68765, 1.46502 )
|
|
mesh = SubResource( 2 )
|
|
material/0 = null
|
|
script = SubResource( 5 )
|
|
|
|
[node name="Cube" type="MeshInstance" parent="3D_background"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.25901, -0.598608, 0.374871 )
|
|
mesh = SubResource( 6 )
|
|
material/0 = SubResource( 7 )
|
|
script = SubResource( 8 )
|
|
|
|
[node name="Cube2" type="MeshInstance" parent="3D_background"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2.88761, 2.01326, 0.374871 )
|
|
mesh = SubResource( 6 )
|
|
material/0 = SubResource( 7 )
|
|
script = SubResource( 8 )
|