Hi ^^ I have a little issue... I upload for my game a music and named it "Theme", I create the sprite of a button for mute or unmute the sound, and do my eventsheet like this :
But when I launch my game and click on the button, the sound just "reset" and worth, I can "unmute" the sound when I click again on it.
in the first event give tag""
and then in below events
use that tag to mute sound
Develop games in your browser. Powerful, performant & highly capable.
hum, I cant use a particular tag for the sound, and the thing name "mute" and "unmute" is the sprite.
move "set sound to 1&0" to below third
The issue is once the button is clicked it sets the variable from 0 to 1 which sets it back to 0 again in a very fast loop that happens at the click. Basically, every time you click the button the game goes Play Theme, Stop Theme, Play Theme all within a single click. You need to use an Else statement. An example is attached below.
https://drive.google.com/open?id=1AhDQl ... hifO-6E4xF
Hope this helps.