diff options
author | Viljami Ilola <+@hix.fi> | 2024-04-26 21:44:06 +0300 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-04-26 21:44:06 +0300 |
commit | 731bef1325855cf47d94c715e17aa89fd31cde9e (patch) | |
tree | 6271596c22f2de424df63d5ff7ea411b56ad21ba /src/sliceitoff/game/gameplay.py | |
parent | 54a17d969c85e150486e0960e90ab166e945c359 (diff) |
more music - lose life sound
Diffstat (limited to 'src/sliceitoff/game/gameplay.py')
-rw-r--r-- | src/sliceitoff/game/gameplay.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sliceitoff/game/gameplay.py b/src/sliceitoff/game/gameplay.py index fe66f50..edbb2a9 100644 --- a/src/sliceitoff/game/gameplay.py +++ b/src/sliceitoff/game/gameplay.py @@ -28,6 +28,7 @@ class Gameplay: self.stats.add_score(-500) sfx.play("laser") if pygame.sprite.spritecollideany(zap_sprite, self.enemies): + sfx.play("baby") self.life.lose_life() if self.stats.lose_life(): return True |