N
nessabby1
Guest
I got the audio to work and stop perfectly, but now when i go to mouse left click the button again, the music doesnt play again. I have a sound/mute feature in the game. so far im using the object that contains the sound sprite. when i start the game the music is there. then when i click it, the music stops which is good. But then what i want to unmute. it doesnt start the music back. Must i put a "else" some where in the code?
heres the code:
forthe create event i simply have :
background_music = audio_play_sound(background_sound, 100, true);
and for the left mouse release:
audio_stop_sound(background_sound);
.
Also, id like the object sound button to change to my Mute sprite how would i go about doing that.
heres the code:
forthe create event i simply have :
background_music = audio_play_sound(background_sound, 100, true);
and for the left mouse release:
audio_stop_sound(background_sound);
.
Also, id like the object sound button to change to my Mute sprite how would i go about doing that.