After around 3 or 4 hours...... (can't remember time i started to fix the issue O_o) I found a solution.
Multiple things :
I think that's not the best solution BUT, like this, you can use the sound manager and the sound classes like you're using in desktop version.
Moreover... It works!
To make it works, soundmanager act like he is acting on desktop version (so you can use SoundManager with emscripten as you are using SoundManager on Desktop). The difference is in functions declaration. If emscripten is used, then we conrtole javascript with our c++ code.
Hope you like the fix and my explanations are not too confusing.
Bye~~
Hello!
After around 3 or 4 hours...... (can't remember time i started to fix the issue O_o) I found a solution.
Multiple things :
Hope you like the fix and my explanations are not too confusing. Bye~~