How to have music continue looping?

GamersRejoiceGamersRejoice Member Posts: 817
edited November -1 in Working with GS (Mac)
So I have my main menu scene that triggers the music to start playing, the problem I am having is that when I play a level and go back to the main menu, the music starts of rather than continuing the loop. Is there a way to have the music not start over?

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    It has been recommended that you add like a splash screen that loads before your menu which triggers the music so the user never returns to the screen the music starts on.
  • GamersRejoiceGamersRejoice Member Posts: 817
    Hm that would work, I wonder if there is another way to do it though?

    Thanks!
  • cbtcbt Member Posts: 644
    The music re-starts every-time you re-trigger that play-music-behavior. (Wow.. A lot of - there)

    So, no, there is no other easy way. Just start the music in splash screen.

    But if you insist on doing it the hard way, you can create few booleans, some self attributes etc. etc. But, really, use splash screen :P
Sign In or Register to comment.