From 731bef1325855cf47d94c715e17aa89fd31cde9e Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Fri, 26 Apr 2024 21:44:06 +0300 Subject: more music - lose life sound --- src/sliceitoff/game/gameplay.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sliceitoff/game/gameplay.py') 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 -- cgit v1.2.3