Have music play continuously when switching scenes?
mi1ez
Member, PRO Posts: 18
So I have an actor on my Main Menu that plays the music, and when I go to my "Stats" scene, the music continues to play which is good. However, when I press the back button and return to my Main Menu, the music restarts. How can I make it so the music plays continuously? I know it's not a huge deal but I'd like to fix it if possible Thanks in advance!
Comments
if musicOn is false then
behavior play the music
behavior change attribute musicOn to true
So then it will not restart because musicOn will be true next time it gets to that rule.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page