Start and stop some sounds and add a little bit of reverb to sounds so they fit the 'dungeon' theme.

This commit is contained in:
Zed A. Shaw 2025-02-28 10:48:45 -05:00
parent a8ae6df13b
commit 25d782df6d
18 changed files with 20 additions and 2 deletions

View file

@ -135,6 +135,7 @@ void System::death(GameLevel &level, components::ComponentMap& components) {
world.remove<Animation>(ent);
if(auto snd = world.get_if<Sound>(ent)) {
sound::stop(snd->attack);
sound::play(snd->death);
}