[gd_scene format=3 uid="uid://mh3msmluve7p"] [ext_resource type="Script" uid="uid://tuwu6hmfun0e" path="res://entities/player/player.gd" id="1_fkugw"] [ext_resource type="Texture2D" uid="uid://dxni3dw1x4lrl" path="res://assets/sprites/scraps_09.png" id="2_bectd"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_26q78"] radius = 7.0 height = 14.0 [sub_resource type="AtlasTexture" id="AtlasTexture_wvtmh"] atlas = ExtResource("2_bectd") region = Rect2(0, 0, 64, 64) [sub_resource type="AtlasTexture" id="AtlasTexture_abrql"] atlas = ExtResource("2_bectd") region = Rect2(0, 192, 64, 64) [sub_resource type="AtlasTexture" id="AtlasTexture_sglur"] atlas = ExtResource("2_bectd") region = Rect2(0, 128, 64, 64) [sub_resource type="AtlasTexture" id="AtlasTexture_bls4j"] atlas = ExtResource("2_bectd") region = Rect2(0, 64, 64, 64) [sub_resource type="AtlasTexture" id="AtlasTexture_fkugw"] atlas = ExtResource("2_bectd") region = Rect2(0, 0, 64, 64) [sub_resource type="AtlasTexture" id="AtlasTexture_8fjmc"] atlas = ExtResource("2_bectd") region = Rect2(64, 0, 64, 64) [sub_resource type="AtlasTexture" id="AtlasTexture_qiwj3"] atlas = ExtResource("2_bectd") region = Rect2(128, 0, 64, 64) [sub_resource type="AtlasTexture" id="AtlasTexture_26q78"] atlas = ExtResource("2_bectd") region = Rect2(192, 0, 64, 64) [sub_resource type="AtlasTexture" id="AtlasTexture_bectd"] atlas = ExtResource("2_bectd") region = Rect2(0, 192, 64, 64) [sub_resource type="AtlasTexture" id="AtlasTexture_7thud"] atlas = ExtResource("2_bectd") region = Rect2(64, 192, 64, 64) [sub_resource type="AtlasTexture" id="AtlasTexture_a1qjk"] atlas = ExtResource("2_bectd") region = Rect2(128, 192, 64, 64) [sub_resource type="AtlasTexture" id="AtlasTexture_j3ovn"] atlas = ExtResource("2_bectd") region = Rect2(192, 192, 64, 64) [sub_resource type="AtlasTexture" id="AtlasTexture_afbqv"] atlas = ExtResource("2_bectd") region = Rect2(0, 128, 64, 64) [sub_resource type="AtlasTexture" id="AtlasTexture_gx6sm"] atlas = ExtResource("2_bectd") region = Rect2(64, 128, 64, 64) [sub_resource type="AtlasTexture" id="AtlasTexture_yqrof"] atlas = ExtResource("2_bectd") region = Rect2(128, 128, 64, 64) [sub_resource type="AtlasTexture" id="AtlasTexture_3wlsy"] atlas = ExtResource("2_bectd") region = Rect2(192, 128, 64, 64) [sub_resource type="AtlasTexture" id="AtlasTexture_b2kln"] atlas = ExtResource("2_bectd") region = Rect2(0, 64, 64, 64) [sub_resource type="AtlasTexture" id="AtlasTexture_we0b7"] atlas = ExtResource("2_bectd") region = Rect2(64, 64, 64, 64) [sub_resource type="AtlasTexture" id="AtlasTexture_mtric"] atlas = ExtResource("2_bectd") region = Rect2(128, 64, 64, 64) [sub_resource type="AtlasTexture" id="AtlasTexture_eyb6c"] atlas = ExtResource("2_bectd") region = Rect2(192, 64, 64, 64) [sub_resource type="SpriteFrames" id="SpriteFrames_ix1gt"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_wvtmh") }], "loop": true, "name": &"idle_down", "speed": 10.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_abrql") }], "loop": true, "name": &"idle_left", "speed": 10.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_sglur") }], "loop": true, "name": &"idle_right", "speed": 10.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_bls4j") }], "loop": true, "name": &"idle_up", "speed": 10.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_fkugw") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_8fjmc") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_qiwj3") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_26q78") }], "loop": true, "name": &"walk_down", "speed": 10.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_bectd") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_7thud") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_a1qjk") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_j3ovn") }], "loop": true, "name": &"walk_left", "speed": 10.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_afbqv") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_gx6sm") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_yqrof") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_3wlsy") }], "loop": true, "name": &"walk_right", "speed": 10.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_b2kln") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_we0b7") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_mtric") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_eyb6c") }], "loop": true, "name": &"walk_up", "speed": 10.0 }] [sub_resource type="RectangleShape2D" id="RectangleShape2D_bectd"] size = Vector2(65.84375, 66.25) [node name="Player" type="CharacterBody2D" unique_id=1424887591] collision_layer = 2 collision_mask = 33 script = ExtResource("1_fkugw") [node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=2097287881] shape = SubResource("CapsuleShape2D_26q78") [node name="Camera2D" type="Camera2D" parent="." unique_id=1266755049] zoom = Vector2(0.75, 0.75) position_smoothing_enabled = true [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1926532622] position = Vector2(0, -13) sprite_frames = SubResource("SpriteFrames_ix1gt") animation = &"walk_down" autoplay = "idle_down" frame_progress = 0.9045258 [node name="InteractionArea" type="Area2D" parent="." unique_id=1623204784] position = Vector2(-1, -12) collision_layer = 16 collision_mask = 28 [node name="CollisionShape2D" type="CollisionShape2D" parent="InteractionArea" unique_id=446150610] position = Vector2(1, -2) shape = SubResource("RectangleShape2D_bectd") debug_color = Color(0.9411765, 0, 0.29411766, 0.19607843) [node name="PushRay" type="RayCast2D" parent="." unique_id=121926408] target_position = Vector2(32, 0) collision_mask = 32