Menu and back again.

CaptFinnCaptFinn Member Posts: 1,828
edited November -1 in Working with GS (Mac)
I have my splash screen at end go to "StartPage" Scene. On the "Startpage Scene, I have a menu button. when pressed drops down a menu. This menu takes you to the rest of the scenes. Those scenes have a button that take you back to the " StartPage " Scene. When returning to the "Startpage" the menu button isnt needed for the menu to drop. it automatically drops. Thats the way I want it. Now back to the "Startpage" scene. When it initially start after the splash screen. I have a audio file start playing from a timer.

Timer after 0.50 secs
Play Music---Introduction file.

This is the initial start up fromt he splash screen. My problem is this. When I come back to the "Startpage" scene from the other scenes. I dont want the introduction file to play again and again and again each time the user comes back to the menu. Do I create a Second scene that mimics the "Startpage" scene exact , minus the auido file.. or is there another way?

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    you could have boolean that turns from true to false after the first load and then you have the rule when the music only plays if the boolean is true
  • CaptFinnCaptFinn Member Posts: 1,828
    Have the return button make the boolean false?
Sign In or Register to comment.