From 1f6a3fc7512eb6d90105d4aec538c9c3b8bf0ab7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl?= Date: Sun, 5 Nov 2023 17:28:57 +0100 Subject: [PATCH] Fix projectiles appariton hors fightBox --- src/scenes/story/boss_fight.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scenes/story/boss_fight.py b/src/scenes/story/boss_fight.py index 19bed97..e18748c 100644 --- a/src/scenes/story/boss_fight.py +++ b/src/scenes/story/boss_fight.py @@ -577,7 +577,7 @@ def __rainning_projectiles(world: World, number: int = 20): entity.set( Sprite( world[Assets].get_texture("projectiles_coming/0000"), - Vec2(random.randint(0, 1399), 300), + Vec2(random.randint(100, 1299), 300), 4, ), animation, @@ -605,7 +605,7 @@ def __horizontal_projectile(world: World, left: bool, number: int = 10): HorizontalProjectiles(), Sprite( world[Assets].get_texture("error"), - Vec2(10 if left else render.WIDTH - 10, random.randint(500, 930)), + Vec2(10 if left else render.WIDTH - 10, random.randint(500, 889)), 4, ), animation,