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:
parent
a8ae6df13b
commit
25d782df6d
18 changed files with 20 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue