[gd_scene load_steps=44 format=3 uid="uid://bu8e4iyw8pc03"] [ext_resource type="Script" uid="uid://dsryf6gxqcm1k" path="res://Scripts/player.gd" id="1_0y7nr"] [ext_resource type="Texture2D" uid="uid://rltv4cun6tyw" path="res://Assets/Graphics/Player/Death/adult death.png" id="2_nn08x"] [ext_resource type="Texture2D" uid="uid://ddqxjf5l3jdjy" path="res://Assets/Graphics/Player/Jump/Adult_jump.png" id="3_52ee3"] [ext_resource type="Texture2D" uid="uid://c6uobr1ovln4i" path="res://Assets/Graphics/Player/Hurt/adult hurt.png" id="4_bhhdu"] [ext_resource type="Texture2D" uid="uid://bplvpwu7ktbqc" path="res://Assets/Graphics/Player/Idle/Adult_idle.png" id="5_megsn"] [ext_resource type="Texture2D" uid="uid://b6wf75yygb5jo" path="res://Assets/Graphics/Player/Run/Adult_run.png" id="6_yoq75"] [sub_resource type="CircleShape2D" id="CircleShape2D_2poj3"] [sub_resource type="AtlasTexture" id="AtlasTexture_ksbbd"] atlas = ExtResource("2_nn08x") region = Rect2(0, 0, 123, 122) [sub_resource type="AtlasTexture" id="AtlasTexture_glx4g"] atlas = ExtResource("2_nn08x") region = Rect2(123, 0, 123, 122) [sub_resource type="AtlasTexture" id="AtlasTexture_miouo"] atlas = ExtResource("2_nn08x") region = Rect2(246, 0, 123, 122) [sub_resource type="AtlasTexture" id="AtlasTexture_o3h8g"] atlas = ExtResource("2_nn08x") region = Rect2(369, 0, 123, 122) [sub_resource type="AtlasTexture" id="AtlasTexture_1e7my"] atlas = ExtResource("2_nn08x") region = Rect2(492, 0, 123, 122) [sub_resource type="AtlasTexture" id="AtlasTexture_arntx"] atlas = ExtResource("2_nn08x") region = Rect2(615, 0, 123, 122) [sub_resource type="AtlasTexture" id="AtlasTexture_lslt6"] atlas = ExtResource("2_nn08x") region = Rect2(738, 0, 123, 122) [sub_resource type="AtlasTexture" id="AtlasTexture_ulo2v"] atlas = ExtResource("2_nn08x") region = Rect2(861, 0, 123, 122) [sub_resource type="AtlasTexture" id="AtlasTexture_1iu4k"] atlas = ExtResource("2_nn08x") region = Rect2(984, 0, 123, 122) [sub_resource type="AtlasTexture" id="AtlasTexture_m0x7a"] atlas = ExtResource("2_nn08x") region = Rect2(1107, 0, 123, 122) [sub_resource type="AtlasTexture" id="AtlasTexture_5v66d"] atlas = ExtResource("3_52ee3") region = Rect2(226, 0, 113, 115) [sub_resource type="AtlasTexture" id="AtlasTexture_x63xi"] atlas = ExtResource("4_bhhdu") region = Rect2(0, 0, 133, 130) [sub_resource type="AtlasTexture" id="AtlasTexture_i2e8t"] atlas = ExtResource("4_bhhdu") region = Rect2(133, 0, 133, 130) [sub_resource type="AtlasTexture" id="AtlasTexture_qidb7"] atlas = ExtResource("4_bhhdu") region = Rect2(266, 0, 133, 130) [sub_resource type="AtlasTexture" id="AtlasTexture_70hv0"] atlas = ExtResource("4_bhhdu") region = Rect2(399, 0, 133, 130) [sub_resource type="AtlasTexture" id="AtlasTexture_8flut"] atlas = ExtResource("5_megsn") region = Rect2(0, 0, 122, 119) [sub_resource type="AtlasTexture" id="AtlasTexture_u7x0b"] atlas = ExtResource("5_megsn") region = Rect2(122, 0, 122, 119) [sub_resource type="AtlasTexture" id="AtlasTexture_utwlt"] atlas = ExtResource("5_megsn") region = Rect2(244, 0, 122, 119) [sub_resource type="AtlasTexture" id="AtlasTexture_kih0c"] atlas = ExtResource("5_megsn") region = Rect2(366, 0, 122, 119) [sub_resource type="AtlasTexture" id="AtlasTexture_lyrkg"] atlas = ExtResource("5_megsn") region = Rect2(488, 0, 122, 119) [sub_resource type="AtlasTexture" id="AtlasTexture_c43xd"] atlas = ExtResource("5_megsn") region = Rect2(610, 0, 122, 119) [sub_resource type="AtlasTexture" id="AtlasTexture_avx33"] atlas = ExtResource("5_megsn") region = Rect2(732, 0, 122, 119) [sub_resource type="AtlasTexture" id="AtlasTexture_rxg2u"] atlas = ExtResource("5_megsn") region = Rect2(854, 0, 122, 119) [sub_resource type="AtlasTexture" id="AtlasTexture_xixlo"] atlas = ExtResource("5_megsn") region = Rect2(976, 0, 122, 119) [sub_resource type="AtlasTexture" id="AtlasTexture_bfbt0"] atlas = ExtResource("5_megsn") region = Rect2(1098, 0, 122, 119) [sub_resource type="AtlasTexture" id="AtlasTexture_wosd6"] atlas = ExtResource("3_52ee3") region = Rect2(0, 0, 113, 115) [sub_resource type="AtlasTexture" id="AtlasTexture_hkrn1"] atlas = ExtResource("3_52ee3") region = Rect2(113, 0, 113, 115) [sub_resource type="AtlasTexture" id="AtlasTexture_wpo1r"] atlas = ExtResource("6_yoq75") region = Rect2(0, 0, 102, 107) [sub_resource type="AtlasTexture" id="AtlasTexture_pqity"] atlas = ExtResource("6_yoq75") region = Rect2(102, 0, 102, 107) [sub_resource type="AtlasTexture" id="AtlasTexture_opqna"] atlas = ExtResource("6_yoq75") region = Rect2(204, 0, 102, 107) [sub_resource type="AtlasTexture" id="AtlasTexture_00okb"] atlas = ExtResource("6_yoq75") region = Rect2(306, 0, 102, 107) [sub_resource type="AtlasTexture" id="AtlasTexture_6hr71"] atlas = ExtResource("6_yoq75") region = Rect2(408, 0, 102, 107) [sub_resource type="AtlasTexture" id="AtlasTexture_y6y60"] atlas = ExtResource("6_yoq75") region = Rect2(510, 0, 102, 107) [sub_resource type="AtlasTexture" id="AtlasTexture_vmcrb"] atlas = ExtResource("6_yoq75") region = Rect2(612, 0, 102, 107) [sub_resource type="AtlasTexture" id="AtlasTexture_teras"] atlas = ExtResource("6_yoq75") region = Rect2(714, 0, 102, 107) [sub_resource type="SpriteFrames" id="SpriteFrames_miouo"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_ksbbd") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_glx4g") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_miouo") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_o3h8g") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_1e7my") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_arntx") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_lslt6") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_ulo2v") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_1iu4k") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_m0x7a") }], "loop": false, "name": &"death", "speed": 12.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_5v66d") }], "loop": true, "name": &"falling", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_x63xi") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_i2e8t") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_qidb7") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_70hv0") }], "loop": false, "name": &"hurt", "speed": 12.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_8flut") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_u7x0b") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_utwlt") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_kih0c") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_lyrkg") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_c43xd") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_avx33") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_rxg2u") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_xixlo") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_bfbt0") }], "loop": true, "name": &"idle", "speed": 12.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_wosd6") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_hkrn1") }], "loop": false, "name": &"jump", "speed": 12.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_wpo1r") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_pqity") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_opqna") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_00okb") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_6hr71") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_y6y60") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_vmcrb") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_teras") }], "loop": true, "name": &"run", "speed": 12.0 }] [node name="CharacterBody2D" type="CharacterBody2D"] position = Vector2(2, -1) script = ExtResource("1_0y7nr") metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="."] scale = Vector2(1.6423842, 3.448035) shape = SubResource("CircleShape2D_2poj3") debug_color = Color(0.613557, 0.363647, 0.991688, 0.42) [node name="RightCast" type="RayCast2D" parent="."] target_position = Vector2(25, 0) [node name="LeftCast" type="RayCast2D" parent="."] target_position = Vector2(-24, 0) [node name="RightSpawn" type="Node2D" parent="."] position = Vector2(17, -3) [node name="LeftSpawn" type="Node2D" parent="."] position = Vector2(-14, -3) [node name="PlayerGraphic" type="AnimatedSprite2D" parent="."] texture_filter = 1 position = Vector2(0, -6) sprite_frames = SubResource("SpriteFrames_miouo") animation = &"idle" autoplay = "idle" frame_progress = 0.47372988 [node name="Camera2D" type="Camera2D" parent="."] position = Vector2(-7, -43) [connection signal="animation_finished" from="PlayerGraphic" to="." method="_on_animation_finished"]