Ajout son
This commit is contained in:
parent
7149019109
commit
86b8d02777
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue