From bce80184961866e0efcc227becf15fe66bd99428 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Fri, 14 Nov 2025 10:36:23 +0200 Subject: Fix movement stalling issue when both directions are pressed --- player.tscn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'player.tscn') diff --git a/player.tscn b/player.tscn index 077ceb8..4ee3ad4 100644 --- a/player.tscn +++ b/player.tscn @@ -69,7 +69,7 @@ animations = [{ }, { "frames": [{ "duration": 1.0, -"texture": SubResource("AtlasTexture_wtcfe") +"texture": SubResource("AtlasTexture_0e48y") }], "loop": true, "name": &"idle", @@ -110,6 +110,9 @@ sprite_frames = SubResource("SpriteFrames_rj586") animation = &"idle" autoplay = "idle" +[node name="Camera2D" type="Camera2D" parent="AnimatedSprite2D"] +position = Vector2(0, -15) + [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(0, 3) shape = SubResource("RectangleShape2D_onrkg") -- cgit v1.3