Pop Up Windows

I have been working on a new game and I want to make a pop up window that has a restart button and a home button.
I already know how to program those buttons.
just does anyone know how to make a pop up that has "your score", menu button, restart button?
When you die???????

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited February 2013
    There are several ways to have a "pop-up window." The easiest it to create a separate scene with any overlay actors that you want (e.g. score, menu, restart) and then use Pause Game and Unpause Game behaviors to display the separate scene.

    A harder but more performance-friendly (no waiting times) method is to move those buttons into place whenever a condition is true (e.g. When game.Paused is true). You can change the value of game.Paused when a pause button is pressed. If you have moving/changing actors, though, you'll need to figure out a way to stop them from running their rules when game.Paused is true and then resume their rules when game.Paused is false.

    There are numerous video tutorials and forum/Cookbook pages about this. Just Google pause game gamesalad and you'll see them.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.