About Pop-up menu

sky_ssrsky_ssr Member Posts: 58
edited November -1 in Working with GS (Mac)
how to do when the scene ends have a pop-up menu to congratulate and to choose to go to next scene or back to main menu

Comments

  • TouchTiltGamesTouchTiltGames Member Posts: 1,162
    FireMapleGames has a great popup menu tutorial in the tutorial/web games, grab it there.
  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    I don't do this on my latest game but the next one will... How about using the pause function?

    Ace
  • sky_ssrsky_ssr Member Posts: 58
    I cant find the tutorial section :( Could any one tell me how to do in gamesalad??
  • sky_ssrsky_ssr Member Posts: 58
    I mean how to make a pop up menu when scene ends and that pop up menu can choose to go to mainmenu or proceed to next level
  • DrGlickertDrGlickert Member Posts: 1,135
    http://gamesalad.com/game/play/76554

    That's the popup menu.

    I can think of two ways to accomplish what you're trying to do;
    1) When the player completes the level you could "Spawn Actor" that is mostly a text display that allows the player to click on Next Level or Main Menu

    2) In my game, I just create a new scene that has some stats from the previous level (shots fired, score, lives left, etc). And some clickable actors (Main Menu, Next Level, Replay Level, etc).

    Hope that helps.
  • MagoNicolasMagoNicolas Member, PRO Posts: 2,090
    Watch Pause video here, will work for what you want 2.
    http://gamesalad.com/blog/
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Dont use pause for a completion menu. you cannot change scenes from pause so you will have a load icon to show the level complete screen and then you will have a load icon to close the close your pause screen and then another to continue to the next level.

    The easiest option is to spawn a single actor with your congrats message and touch here to continue all in the same actor.

    What you can do though is setup a Boolean that goes true when the level is complete. and then place all of the buttons and menu background actors off screen and when game.levelcomplete is true you can set them all to have change attribute to move into place. when you do it this way you can also control fade in and out by interpolating alpha so you can create some cool effects that way.

    You can also have your entire menu already assembled right off the screen and have all of your actors setup to interpolate their x or y positions when game.levelcomplete is true this will give the effect of the menu sliding in from off screen.

    Hope that make sense and helps.

    Aaron
Sign In or Register to comment.