From fde022f6264b985efcf4a72f465ecd9a9625101b Mon Sep 17 00:00:00 2001 From: markojozsef Date: Sun, 18 Oct 2026 14:33:03 +0200 Subject: [PATCH] =?UTF-8?q?Sprite=20rajzol=C3=A1s=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gamestates/battle.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gamestates/battle.py b/src/gamestates/battle.py index 089a0b6..f46081d 100644 --- a/src/gamestates/battle.py +++ b/src/gamestates/battle.py @@ -360,7 +360,8 @@ def pick_sprite_id(c, ids): def draw_tex(tex, cx, cy): arcade.draw_texture_rect(tex, arcade.LRBT( cx - tex.width / 2, cx + tex.width / 2, - cy - tex.height / 2, cy + tex.height / 2)) + cy - tex.height / 2, cy + tex.height / 2), + pixelated=True) def draw_battlers(combatants, sprite_table, pos_func): for i, c in enumerate(combatants): @@ -372,6 +373,7 @@ def draw(game): arcade.draw_texture_rect( background, arcade.LBWH(0, 0, game.screen_width, game.screen_height), + pixelated=True ) draw_battlers(enemies, enemy_sprites, enemy_pos) draw_battlers(party_members, party_sprites, party_pos)