Ajout de la loop sur la musique #39

Merged
raphael merged 2 commits from ajout-loop-sur-la-musique into main 2024-01-07 21:33:51 +00:00
Showing only changes of commit e40e88d99f - Show all commits

View file

@ -58,7 +58,7 @@ def __on_click_butons(world: World, _entity: Entity, name: str):
world[CurrentScene] = game.TWO_PLAYER world[CurrentScene] = game.TWO_PLAYER
case _: case _:
pass pass
world.new_entity().set(KeepAlive(), Sound("click.wav")) world.new_entity().set(KeepAlive(), Sound("click.wav"), Loop())
def __spawn_elements(world: World): def __spawn_elements(world: World):