[gd_scene format=3 uid="uid://caa73phf3ng5m"] [ext_resource type="Script" uid="uid://btmoyp0rwqmxe" path="res://Scripts/player.gd" id="1_v0iea"] [ext_resource type="Texture2D" uid="uid://dlax6d4nhkl4p" path="res://assets/graphics/player/idle/Player Idle 48x48.png" id="2_cvnsp"] [ext_resource type="Texture2D" uid="uid://bc251ptp8ujsv" path="res://assets/graphics/player/run/player run 48x48.png" id="3_6t5aa"] [sub_resource type="CircleShape2D" id="CircleShape2D_2poj3"] [sub_resource type="AtlasTexture" id="AtlasTexture_6t5aa"] atlas = ExtResource("2_cvnsp") region = Rect2(0, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_vgqql"] atlas = ExtResource("2_cvnsp") region = Rect2(48, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_fkybt"] atlas = ExtResource("2_cvnsp") region = Rect2(96, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_x3wgy"] atlas = ExtResource("2_cvnsp") region = Rect2(144, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_3smsa"] atlas = ExtResource("2_cvnsp") region = Rect2(192, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_8erm5"] atlas = ExtResource("2_cvnsp") region = Rect2(240, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_f1ek2"] atlas = ExtResource("2_cvnsp") region = Rect2(288, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_tx1dd"] atlas = ExtResource("2_cvnsp") region = Rect2(336, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_gymyn"] atlas = ExtResource("2_cvnsp") region = Rect2(384, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_pu2lt"] atlas = ExtResource("2_cvnsp") region = Rect2(432, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_ukyrk"] atlas = ExtResource("3_6t5aa") region = Rect2(0, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_7dp3o"] atlas = ExtResource("3_6t5aa") region = Rect2(48, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_h4iuc"] atlas = ExtResource("3_6t5aa") region = Rect2(96, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_fd4e3"] atlas = ExtResource("3_6t5aa") region = Rect2(144, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_qqcod"] atlas = ExtResource("3_6t5aa") region = Rect2(192, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_igrcy"] atlas = ExtResource("3_6t5aa") region = Rect2(240, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_fs7ks"] atlas = ExtResource("3_6t5aa") region = Rect2(288, 0, 48, 48) [sub_resource type="AtlasTexture" id="AtlasTexture_l6n3p"] atlas = ExtResource("3_6t5aa") region = Rect2(336, 0, 48, 48) [sub_resource type="SpriteFrames" id="SpriteFrames_ukyrk"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_6t5aa") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_vgqql") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_fkybt") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_x3wgy") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_3smsa") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_8erm5") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_f1ek2") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_tx1dd") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_gymyn") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_pu2lt") }], "loop": true, "name": &"idle", "speed": 12.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_ukyrk") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_7dp3o") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_h4iuc") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_fd4e3") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_qqcod") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_igrcy") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_fs7ks") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_l6n3p") }], "loop": true, "name": &"run", "speed": 12.0 }] [node name="Player" type="CharacterBody2D" unique_id=1717313761] script = ExtResource("1_v0iea") metadata/_edit_group_ = true [node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=528481441] shape = SubResource("CircleShape2D_2poj3") debug_color = Color(0.36777267, 0.6132997, 0.17400515, 0.41960785) [node name="RightCast" type="RayCast2D" parent="." unique_id=1332937468] target_position = Vector2(17, 0) [node name="LeftCast" type="RayCast2D" parent="." unique_id=839132816] target_position = Vector2(-17, 0) [node name="RightSpawn" type="Marker2D" parent="." unique_id=1154451890] position = Vector2(13, -8) [node name="LeftSpawn" type="Marker2D" parent="." unique_id=52406940] position = Vector2(-14, -8) [node name="PlayerGraphic" type="AnimatedSprite2D" parent="." unique_id=149398795] texture_filter = 1 position = Vector2(0, -6) sprite_frames = SubResource("SpriteFrames_ukyrk") animation = &"run" autoplay = "idle" frame = 5 frame_progress = 0.17384599