[gd_scene load_steps=9 format=3 uid="uid://chmxabjea27ay"] [ext_resource type="Script" path="res://puzzles/grave/grave.gd" id="1_ooabc"] [ext_resource type="Texture2D" uid="uid://boii66my2eiqr" path="res://puzzles/assets/grave.png" id="1_wcgrd"] [sub_resource type="Animation" id="Animation_4eb2t"] resource_name = "RESET" tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:frame") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [0] } [sub_resource type="Animation" id="Animation_x7kib"] resource_name = "complete" tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:frame") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.25, 0.5, 0.75, 1), "transitions": PackedFloat32Array(1, 1, 1, 1, 1), "update": 1, "values": [5, 6, 7, 8, 9] } [sub_resource type="Animation" id="Animation_w5bs5"] resource_name = "sing" length = 2.0 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:frame") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1), "update": 1, "values": [1, 2, 3, 4, 1, 2, 3, 4] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_n47hy"] _data = { "RESET": SubResource("Animation_4eb2t"), "complete": SubResource("Animation_x7kib"), "sing": SubResource("Animation_w5bs5") } [sub_resource type="AtlasTexture" id="AtlasTexture_h3pxl"] atlas = ExtResource("1_wcgrd") [sub_resource type="RectangleShape2D" id="RectangleShape2D_smj88"] size = Vector2(8, 8) [node name="Grave" type="StaticBody2D"] collision_layer = 2 script = ExtResource("1_ooabc") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] root_node = NodePath("../Sprite2D") libraries = { "": SubResource("AnimationLibrary_n47hy") } autoplay = "RESET" [node name="Sprite2D" type="Sprite2D" parent="."] texture_filter = 1 texture = SubResource("AtlasTexture_h3pxl") hframes = 5 vframes = 2 [node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("RectangleShape2D_smj88") [connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_animation_player_animation_finished"]