Setting Game Objective And Creating A Game Pause Menu

Hi,

I am new to corona and I was wondering how to set a objective point in my game (it will take you to the next level). Can this point be a image/object?

Also, how can I make a button that when pressed opens a pop up window (pause menu) (like the one when you try to delete a app or when you try to download a app (asking for your apple id password)). The pause menu/pop up box would have 3 options/buttons: resume game, menu and options.

Sorry new to this!!
Thanks in advance! [import]uid: 15281 topic_id: 5783 reply_id: 305783[/import]

I don’t understand your first question. If it’s changing levels you want to do, check director class out. You’ll learn it in 10 minutes and you can’t create any good games without it :slight_smile:

For your second question. Check beebe’s class out, you’ll need it! Then use his performAfterDelay timer for all your timers. Then when the pause button is touched, pause all timers, get the velocity of all moving objects, then set all the velocitys to 0. And add a new image (Which is your pause screen) in front of everything else. And add a resume button image, and you’re done.

When they click the resume button just have the timers resumed, set all the velocities back to the moving objects and remove your added images [import]uid: 30185 topic_id: 5783 reply_id: 20061[/import]