From aba346e5714faf1745c52bfab0448b1e435abf91 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Fri, 13 Dec 2024 22:48:09 -0700 Subject: [PATCH] Update flipping logic for auto mode --- foodie-dash.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/foodie-dash.py b/foodie-dash.py index de161bd..12bed85 100644 --- a/foodie-dash.py +++ b/foodie-dash.py @@ -196,6 +196,9 @@ def game_loop(): player_x = (WIDTH - player_width) // 2 food_x = random.randint(0, WIDTH - food_width) food_y = 0 + if flipped: + player_image = pygame.transform.flip(player_image, True, False) + flipped = False auto_mode = False if not auto_mode: