From b73b4a6de480d194709e62f6483c4e8f177a6626 Mon Sep 17 00:00:00 2001 From: Tipragot Date: Sun, 7 Jan 2024 11:04:30 +0000 Subject: [PATCH] Apparition des bonus plus au centre (#30) Reviewed-on: https://git.tipragot.fr/raphael/ponguito/pulls/30 Reviewed-by: Corentin Co-authored-by: Tipragot Co-committed-by: Tipragot --- src/scenes/game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scenes/game.py b/src/scenes/game.py index 07ffa7a..77e16a2 100644 --- a/src/scenes/game.py +++ b/src/scenes/game.py @@ -332,7 +332,7 @@ def __spawn_bonus(world: World): Bonus.get_texture(bonus), 3, Vec2( - random.randint(200, render.WIDTH - 200), + random.randint(400, render.WIDTH - 400), random.randint(100, render.HEIGHT - 100), ), Vec2(70),