From 97e79598aa3fbbf7e7b69894964ccb232dfc0347 Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 7 May 2023 18:37:10 +1000 Subject: Add more sound effects. --- collision_system.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'collision_system.c') diff --git a/collision_system.c b/collision_system.c index a5342d2..6d8368c 100644 --- a/collision_system.c +++ b/collision_system.c @@ -67,6 +67,8 @@ static void handle_bullet_vs_enemy( e->hp--; destroy_entity(world, bullet); new_player_bullet_explosion(world, pos->x, pos->y); + + play_beep(50, 500); } static void handle_bullet_vs_solid( @@ -86,6 +88,8 @@ static void handle_bullet_vs_solid( new_player_bullet_explosion(world, pos->x, pos->y); } + play_beep(50, 100); + destroy_entity(world, bullet); } -- cgit v1.2.3-54-g00ecf