Ajout son

This commit is contained in:
Tipragot 2023-11-05 21:23:47 +01:00
parent 7149019109
commit 86b8d02777

View file

@ -423,7 +423,7 @@ def __create_zone_attack(world: World, number: int = 2):
)
yield animation.wait()
entity.destroy()
world.new_entity().set(Sound(world[Assets].get_sound("zone")))
world.new_entity().set(Sound(world[Assets].get_sound("zone"), volume=0.5))
for i in range(10):
projectile = world.new_entity()
@ -468,6 +468,7 @@ def __create_zone_attack(world: World, number: int = 2):
yield wait(1.75)
for entity in world.query(ZoneAttack):
entity.destroy()
world.new_entity().set(Sound(world[Assets].get_sound("zone"), volume=0.5))
for _z in range(2):
for i in range(10):
projectile = world.new_entity()