How to Keep the music going ( Music Logic)
Im having trouble keeping the music going from scene to scene. I have about 16 levels in my game and I have a level select menu. When I push any level I need the music to start playing. When you play the game from level one you go to the next level.
The problem is when you go to the next level the music restarts. Is there any way to get around this.
Also I have menu music as well.
Im sure there is a really easy work around. Im used to doing this in code.
if(!musicIsPlaying)
{
Play music
}
Thanks again
The problem is when you go to the next level the music restarts. Is there any way to get around this.
Also I have menu music as well.
Im sure there is a really easy work around. Im used to doing this in code.
if(!musicIsPlaying)
{
Play music
}
Thanks again
![:) :)](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/smile.png)
Comments
1. Put the music player in level 1
2. Make variable for music
3. When selecting the level change the music variable
4. Put a rule in to make sure that the music plays in other levels when the variable is active.
5. When the home button is pushed put a stopped music.
Its a hard work around. But it works.