[gd_scene load_steps=12 format=3 uid="uid://coxnsharboouu"] [ext_resource type="Texture2D" uid="uid://o0yy2jkyp0dy" path="res://assets/kenney_1-bit-platformer-pack/Tilemap/monochrome_tilemap_transparent_packed.png" id="1_4flbx"] [ext_resource type="Script" uid="uid://cw711xwg5k1ym" path="res://player.gd" id="2_onrkg"] [sub_resource type="AtlasTexture" id="AtlasTexture_wtcfe"] atlas = ExtResource("1_4flbx") region = Rect2(0, 192, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_0e48y"] atlas = ExtResource("1_4flbx") region = Rect2(16, 192, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_epypp"] atlas = ExtResource("1_4flbx") region = Rect2(32, 192, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_0hol4"] atlas = ExtResource("1_4flbx") region = Rect2(48, 192, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_q6r6c"] atlas = ExtResource("1_4flbx") region = Rect2(64, 192, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_kdubu"] atlas = ExtResource("1_4flbx") region = Rect2(80, 192, 16, 16) [sub_resource type="AtlasTexture" id="AtlasTexture_d21ai"] atlas = ExtResource("1_4flbx") region = Rect2(96, 192, 16, 16) [sub_resource type="SpriteFrames" id="SpriteFrames_rj586"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_wtcfe") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_0e48y") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_epypp") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_0hol4") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_q6r6c") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_kdubu") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_d21ai") }], "loop": true, "name": &"all_frames", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_d21ai") }], "loop": true, "name": &"dead", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_0e48y") }], "loop": true, "name": &"idle", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_q6r6c") }], "loop": true, "name": &"jump", "speed": 5.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_0hol4") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_0e48y") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_epypp") }], "loop": true, "name": &"walk", "speed": 10.0 }] [sub_resource type="RectangleShape2D" id="RectangleShape2D_onrkg"] size = Vector2(6, 6) [node name="Player" type="CharacterBody2D"] script = ExtResource("2_onrkg") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] position = Vector2(0, -1) sprite_frames = SubResource("SpriteFrames_rj586") animation = &"walk" autoplay = "walk" frame_progress = 0.86319524 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(0, 3) shape = SubResource("RectangleShape2D_onrkg")