Playing Music on the Menu Screen?
So, I'm adding music to my game, and I want to to continuously play throughout all the pages within the menu system.
How can I make the music not start over again when returning to the menu (which already has a -play music- behavior)?
How can I make the music not start over again when returning to the menu (which already has a -play music- behavior)?
Comments
@Evanberger5
Hi, make a game boolean, let's call it MusicStart.
In the Rules to play the music for the first time in the menu page, amend as follows:
Rule: When game.MusicStart is false
Play Music
Change attribute MusicStart to true
I also have a scene that pops up right after my splash screen. It only takes a second to load out of - this scene starts my music. This way, the music continues to play throughout your game, without it starting over. If you close the app in multitasking, it will restart your app which in return, will take you to that scene again and restart your music.