Pause screen within a pause screen, HELP

pokafacepokaface Member Posts: 15
edited November -1 in Working with GS (Mac)
Greetings, I am new to Gamesalad and wanted to say hello to the community!

Now on to my question...

I know in another post I saw that creating a pause screen within a pause screen was proven impossible.

However, in my game I have a pause button which opens up the "pause menu". In that menu, I have an "options" button that opens up another menu where you can turn sound on and off.
In the "options" menu I have a back arrow which reverts back to the previous "pause" menu, and from there you can "resume game"

Now, I tweaked with some of the pause and un-pause game behaviors and everything worked fine. I was able to open up the options menu then revert back to the pause menu and finally resume game exactly where it was originally left off..

The scene I am testing this "options" menu on, has music playing. My problem is this: when I open up pause menu>options, then turn sound OFF, everything checks out in GS. But when I test everything on the simulator, when "resuming game" the music is still playing even though I turned sound OFF. But when I click the original options button AGAIN (which pauses the game) and then click resume game AGAIN (which un pauses game) the music now turns off.

Sorry if this is confusing, I didn't know how else to word it.

I am assuming it has something to do with too many pause screens and un pause screens, etc.

If this proves impossible, can anyone recommend a good way to have my "options" menu inside of my "pause" menu WITHOUT having to change to a whole new scene.. I basically want the options menu to pop up over the original pause menu and then be able to resume game..

Thank you!

Comments

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    Just make your pause scene 2x as wide,and move the camera so it only shows what you want, a pause menu and an options menu
  • pokafacepokaface Member Posts: 15
    Thanks, I tried that but I have no idea how the scrolling menus work.
  • pokafacepokaface Member Posts: 15
    what behaviors would I use to move to the options menu.. control camera or "move to" ?
  • GLGAMESGLGAMES SingaporeMember Posts: 988
    camera control using x,y , so on the same scene you can switch the camera view from main game area and pause menu area.
  • pokafacepokaface Member Posts: 15
    thanks, I found a "kind of" solution here http://gamesalad.com/forums/topic.php?id=12544

    but now when I pause the game, the music keeps playing and I would like it to stop; when you're pausing the game, shouldn't that pause the music as well?

    I tried using "pause music" and then "resume music" but that just gets me back to my original problem of the music turning back on even after I turned sound OFF.. (because touching "resume game" un pauses the game AND resumes the music) < and even though music is "resumed" it technically shouldn't be possible to hear the music because I have the sound turned OFF??
  • pokafacepokaface Member Posts: 15
    wait a minute, I have an idea.. shouldn't I be able to use an "otherwise" attribute that says something like, resume the music "otherwise" game volume is set to 0 or something??
Sign In or Register to comment.