I need to change the volume of the game (Music and sound effects).
Problem is whenever I try to change the slider, nothing happens.
I also debugged the slider value and it is alright, which keeps me thinking what is wrong?
Here is the event:
Sound only goes down, not up, so your value needs to be between 0 and some negative number (start with -60).
Ok, now I have a new problem.
The sound does not go low enough. How can I make it to be completely removed?
Develop games in your browser. Powerful, performant & highly capable.
Edit: use a larger number (-100), or just check for a low value (-100) and Stop the sound.
Ok found it. Thanks!