diff options
Diffstat (limited to 'player.tscn')
| -rw-r--r-- | player.tscn | 71 |
1 files changed, 35 insertions, 36 deletions
diff --git a/player.tscn b/player.tscn index f0e23db..df969c9 100644 --- a/player.tscn +++ b/player.tscn @@ -1,59 +1,59 @@ [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="Texture2D" uid="uid://brnx4rs335wb7" path="res://assets/kenney_player.png" id="2_i3pqv"] [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_hqtel"] +atlas = ExtResource("2_i3pqv") +region = Rect2(0, 0, 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_sweqy"] +atlas = ExtResource("2_i3pqv") +region = Rect2(16, 0, 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_2hs0m"] +atlas = ExtResource("2_i3pqv") +region = Rect2(32, 0, 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_1jxqw"] +atlas = ExtResource("2_i3pqv") +region = Rect2(48, 0, 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_dw050"] +atlas = ExtResource("2_i3pqv") +region = Rect2(64, 0, 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_b26j0"] +atlas = ExtResource("2_i3pqv") +region = Rect2(80, 0, 16, 16) -[sub_resource type="AtlasTexture" id="AtlasTexture_d21ai"] -atlas = ExtResource("1_4flbx") -region = Rect2(96, 192, 16, 16) +[sub_resource type="AtlasTexture" id="AtlasTexture_n7ghd"] +atlas = ExtResource("2_i3pqv") +region = Rect2(96, 0, 16, 16) [sub_resource type="SpriteFrames" id="SpriteFrames_rj586"] animations = [{ "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_wtcfe") +"texture": SubResource("AtlasTexture_hqtel") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_0e48y") +"texture": SubResource("AtlasTexture_sweqy") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_epypp") +"texture": SubResource("AtlasTexture_2hs0m") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_0hol4") +"texture": SubResource("AtlasTexture_1jxqw") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_q6r6c") +"texture": SubResource("AtlasTexture_dw050") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_kdubu") +"texture": SubResource("AtlasTexture_b26j0") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_d21ai") +"texture": SubResource("AtlasTexture_n7ghd") }], "loop": true, "name": &"all_frames", @@ -61,7 +61,7 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_d21ai") +"texture": SubResource("AtlasTexture_n7ghd") }], "loop": true, "name": &"dead", @@ -69,7 +69,7 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_0e48y") +"texture": SubResource("AtlasTexture_sweqy") }], "loop": true, "name": &"idle", @@ -77,7 +77,7 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_q6r6c") +"texture": SubResource("AtlasTexture_dw050") }], "loop": true, "name": &"jump", @@ -85,13 +85,13 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_0hol4") +"texture": SubResource("AtlasTexture_1jxqw") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_0e48y") +"texture": SubResource("AtlasTexture_sweqy") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_epypp") +"texture": SubResource("AtlasTexture_2hs0m") }], "loop": true, "name": &"walk", @@ -109,7 +109,6 @@ 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) |
