diff options
Diffstat (limited to 'base.tscn')
| -rw-r--r-- | base.tscn | 43 |
1 files changed, 37 insertions, 6 deletions
@@ -1,4 +1,4 @@ -[gd_scene load_steps=8 format=2] +[gd_scene load_steps=9 format=2] [ext_resource path="res://scripts/base.gd" type="Script" id=1] [ext_resource path="res://scripts/camera.gd" type="Script" id=2] @@ -8,6 +8,24 @@ [ext_resource path="res://hud.tscn" type="PackedScene" id=6] [ext_resource path="res://player.tscn" type="PackedScene" id=7] +[sub_resource type="Animation" id=1] + +resource_name = "cmb2inc" +length = 2.0 +loop = false +step = 0.1 +tracks/0/type = "value" +tracks/0/path = NodePath("cmb2inc:translation") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/keys = { +"times": PoolFloatArray( 0, 1, 2 ), +"transitions": PoolFloatArray( 1, 1, 1 ), +"update": 0, +"values": [ Vector3( -5.81117, 1.66142, -1.3469 ), Vector3( -5.25375, 1.66142, -5.2241 ), Vector3( -1.43185, 1.66142, -5.74397 ) ] +} + [node name="Game" type="Spatial"] script = ExtResource( 1 ) @@ -52,11 +70,7 @@ omni_shadow_detail = 1 [node name="World" parent="." instance=ExtResource( 3 )] -transform = Transform( 0.05, 0, 0, 0, 0.05, 0, 0, 0, 0.05, 0, 0, -3.35552 ) - -[node name="World2" parent="." instance=ExtResource( 3 )] - -transform = Transform( 0.05, 0, 0, 0, 0.05, 0, 0, 0, 0.05, -2.29277, 0, -3.35552 ) +transform = Transform( 0.02, 0, 0, 0, 0.02, 0, 0, 0, 0.02, 0, 0, -2.81418 ) [node name="Incubator" parent="." instance=ExtResource( 4 )] @@ -86,4 +100,21 @@ v_offset = 0.0 [node name="Player" parent="." instance=ExtResource( 7 )] +[node name="cmb2inc" type="Position3D" parent="."] + +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.43185, 1.66142, -5.74397 ) + +[node name="AnimationPlayer" type="AnimationPlayer" parent="."] + +playback_process_mode = 1 +playback_default_blend_time = 0.0 +root_node = NodePath("..") +anims/cmb2inc = SubResource( 1 ) +playback/active = true +playback/speed = 1.0 +blend_times = [ ] +autoplay = "" + +[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"] + |
