From f03f45a7d990a99fb5272b90cf744bc28e8d653d Mon Sep 17 00:00:00 2001 From: Adrian Pegler Date: Sun, 14 Jul 2024 22:08:06 +0200 Subject: [PATCH] Some new sprites added, but only old ones are in use: the new frames just add noise, no smoothness. changed position of old frames slightly to make those still smoother then before. --- player.tscn | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/player.tscn b/player.tscn index c1bc16c..b5a4d61 100644 --- a/player.tscn +++ b/player.tscn @@ -34,21 +34,21 @@ region = Rect2(752, 188, 188, 188) atlas = ExtResource("1_r1rn1") region = Rect2(940, 188, 188, 188) -[sub_resource type="AtlasTexture" id="AtlasTexture_spv1i"] +[sub_resource type="AtlasTexture" id="AtlasTexture_7hx43"] atlas = ExtResource("1_r1rn1") region = Rect2(0, 376, 188, 188) -[sub_resource type="AtlasTexture" id="AtlasTexture_y3b0m"] -atlas = ExtResource("1_r1rn1") -region = Rect2(188, 376, 188, 188) - -[sub_resource type="AtlasTexture" id="AtlasTexture_po7hs"] +[sub_resource type="AtlasTexture" id="AtlasTexture_f6rod"] atlas = ExtResource("1_r1rn1") region = Rect2(376, 376, 188, 188) -[sub_resource type="AtlasTexture" id="AtlasTexture_pd231"] +[sub_resource type="AtlasTexture" id="AtlasTexture_o4umm"] atlas = ExtResource("1_r1rn1") -region = Rect2(564, 376, 188, 188) +region = Rect2(752, 376, 188, 188) + +[sub_resource type="AtlasTexture" id="AtlasTexture_74s64"] +atlas = ExtResource("1_r1rn1") +region = Rect2(1128, 376, 188, 188) [sub_resource type="SpriteFrames" id="SpriteFrames_q70xl"] animations = [{ @@ -93,19 +93,19 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_spv1i") +"texture": SubResource("AtlasTexture_7hx43") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_y3b0m") +"texture": SubResource("AtlasTexture_f6rod") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_po7hs") +"texture": SubResource("AtlasTexture_o4umm") }, { "duration": 1.0, -"texture": SubResource("AtlasTexture_pd231") +"texture": SubResource("AtlasTexture_74s64") }], "loop": true, -"name": &"walking", +"name": &"walk", "speed": 8.0 }] @@ -117,8 +117,8 @@ height = 174.0 [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] sprite_frames = SubResource("SpriteFrames_q70xl") -animation = &"falling" -frame_progress = 0.176795 +animation = &"walk" +frame_progress = 0.0296892 [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(9, 7)