How to make a only closed music setting?
Weiyu
Member Posts: 216
Hello everyone.
I have problem about music setting.
When I closed the music, music and sound were closed at the same time
I just want to closed music.
Could anyone tell me how to make a only closed music setting?
Please help me
This is my prototype.
P.S game.music = integer
Comments
This is not answering your question (you've not provided the actual code that plays the audio/music, so all people can do is guess), but there is a simpler way of doing the above code.
When touch is pressed:
....Change music.volume to 1-music.volume
No need for the extra rules and the attribute game.music.
That is a good idea.
Thank you for your answer