Music better
This commit is contained in:
parent
90a8828dc7
commit
40b0e585e6
Binary file not shown.
Binary file not shown.
3
utils.py
3
utils.py
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue