Using Pause Scene as Menu

ellfireellfire Member Posts: 187
edited April 2012 in Working with GS (Mac)
Hello, folks. I am currently using the Pause behavior to pull up a "menu scene" with my Game Center options. (View LB, Achievements, Sign in to GC, or Exit back to main menu). Is there a way to stay on the pause menu after the player chooses an option?

Ex. Currently when they look at leader boards, the GC screen pops up and, when they choose done on that screen, the game automatically unpauses and returns to the main menu.

Another ex. would be that if the player chooses the "log in to GC button", it would do so and then stay on the pause menu so that they can look at the other options. Right now, it logs them in, unpauses the game, and returns to main menu forcing the player to recheck the GC button to view the LBs etc.

Any info would be appreciated. Thanks.

Best Answer

  • PhoticsPhotics Posts: 4,172
    edited April 2012 Accepted Answer
    No one's touched this one, so I'll post up.

    With BOT, I have the players logged into GameSalad automatically. (That was the only option at the time. HA!) All of my Game Center behaviors were in a rule... it to check an attribute... a boolean that records the player's preference for Game Center — on or off.

    By default, I have it ON. If they selected OFF in the menu... nothing happens... except that the value of the boolean is FALSE/OFF/Zero(0). So, when the player leave the menu, the Game Center behaviors won't run. The rule won't let them run. This attribute is saved, to remember the player's preference.

    By using attributes, I was able to create a mini-map, weapon select and other pause menu options.

Answers

  • ellfireellfire Member Posts: 187
    Yep, sounds about right. What I ended up doing is stashing some actors offscreen and having them "pop over" the scene so that it mimics a pause menu. Stashed all my GC stuff in there (including the GC on/off switch), and now it works like I was hoping the pause screen menu would.
Sign In or Register to comment.