diff options
author | quou <quou@disroot.org> | 2023-05-07 18:37:10 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2023-05-07 18:37:10 +1000 |
commit | 97e79598aa3fbbf7e7b69894964ccb232dfc0347 (patch) | |
tree | 4b176682b581148fab1e05f0fb8378c76f55800b /collision_system.c | |
parent | 955f6ae56cdd3b20eabb44e7c9b931bdb17c2b3e (diff) |
Add more sound effects.
Diffstat (limited to 'collision_system.c')
-rw-r--r-- | collision_system.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); } |