[gd_scene format=3 uid="uid://dndbf44fkm2ww"] [ext_resource type="Script" uid="uid://c2x51mppxugpn" path="res://BoxBoy/BoxBoy.gd" id="1_av86f"] [ext_resource type="Texture2D" uid="uid://bpjhq0b2dae1d" path="res://BoxBoy/BoxBoy.png" id="2_0yqgk"] [sub_resource type="AtlasTexture" id="AtlasTexture_nxogm"] atlas = ExtResource("2_0yqgk") region = Rect2(0, 0, 32, 32) [sub_resource type="AtlasTexture" id="AtlasTexture_u3cyc"] atlas = ExtResource("2_0yqgk") region = Rect2(32, 0, 32, 32) [sub_resource type="SpriteFrames" id="SpriteFrames_y2354"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_nxogm") }], "loop": false, "name": &"idle", "speed": 1.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_u3cyc") }], "loop": false, "name": &"idle_glance", "speed": 1.0 }] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_ulcgi"] radius = 14.0 height = 31.0 [node name="BoxBoy" type="CharacterBody2D" unique_id=904940283] script = ExtResource("1_av86f") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=660463739] sprite_frames = SubResource("SpriteFrames_y2354") animation = &"idle" metadata/_edit_lock_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1250358515] shape = SubResource("CapsuleShape2D_ulcgi") metadata/_edit_lock_ = true [connection signal="animation_finished" from="AnimatedSprite2D" to="." method="_on_animation_finished"]