Apparition des bonus plus au centre (#30)

Reviewed-on: #30
Reviewed-by: Corentin <solois.corentin@gmail.com>
Co-authored-by: Tipragot <contact@tipragot.fr>
Co-committed-by: Tipragot <contact@tipragot.fr>
This commit is contained in:
Tipragot 2024-01-07 11:04:30 +00:00 committed by Corentin
parent ca08bad958
commit b73b4a6de4

View file

@ -332,7 +332,7 @@ def __spawn_bonus(world: World):
Bonus.get_texture(bonus), Bonus.get_texture(bonus),
3, 3,
Vec2( Vec2(
random.randint(200, render.WIDTH - 200), random.randint(400, render.WIDTH - 400),
random.randint(100, render.HEIGHT - 100), random.randint(100, render.HEIGHT - 100),
), ),
Vec2(70), Vec2(70),