Merge branch 'boss-fight' of https://git.tipragot.fr/raphael/gtn into boss-fight

This commit is contained in:
Tipragot 2023-11-05 17:31:31 +01:00
commit 3e28ad8698

View file

@ -575,7 +575,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,
@ -603,7 +603,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,