Music better

This commit is contained in:
cubernetes 2023-08-11 03:57:13 +02:00
parent 90a8828dc7
commit 40b0e585e6
3 changed files with 2 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -40,7 +40,8 @@ def save_score(score: int) -> None:
score_file.write(str(score))
def start_game_sfx() -> None:
Popen(['paplay', './assets/sfx/start.mp3'])
Popen(['paplay', './assets/sfx/start.mp3']).communicate()
sleep(.5)
Popen(['paplay', './assets/sfx/background_music.mp3'])
def collect_sfx() -> None: