Refactor enemy movement logic for simplicity; adjust character sprite drawing position

This commit is contained in:
2026-03-26 12:49:28 +00:00
parent 83d250f1e9
commit 3813fcb268
2 changed files with 3 additions and 28 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ class Character
elapsed = Gosu.milliseconds / 1000.0
frame_index = ((elapsed * 7).floor) % 6
@animations[@current_animation][frame_index].draw(sprite_x, sprite_y, sprite_y, 1.8, 1.8)
@animations[@current_animation][frame_index].draw(sprite_x, sprite_y, sprite_y + 30, 1.8, 1.8)
return unless DEBUG