How to make a menu, when button is pressed, change scene?

Hey, I just switched over from GS and was teeter tottering back and forth but now I’m going to devote myself to Corona. Between RKS, Tenrdrmer, and JohnPapiomitis, I can’t say anything, its like a communist forum over there :)So my question is how do I make a menu for my game. Should the menu be in the main.lua file and my my game play to another file or what? Then how do I code it?

I thank you guys in advance, I am really excited to get started :slight_smile: [import]uid: 86518 topic_id: 17970 reply_id: 317970[/import]

Sorry posted in wrong forum somehow :slight_smile:
Can someone move this? [import]uid: 86518 topic_id: 17970 reply_id: 68624[/import]

Hello!

Sorry, I’m a bit late to get here today - I overslept :wink:

Will move this now.

For your question, you should check out the new Storyboard API here; http://developer.anscamobile.com/content/storyboard

Let me know how you go.

Peach :slight_smile: [import]uid: 52491 topic_id: 17970 reply_id: 68704[/import]

Still having trouble. Is there a template I can buy with images so I know where the images go? [import]uid: 86518 topic_id: 17970 reply_id: 68728[/import]

Well I do have templates that show this kind of thing, although using director - but I also have a free tutorial (downloadable sample code) that may help.

Link: http://techority.com/2010/11/19/how-to-use-scenesscreens-in-corona/

Let me know how you go with that, OK?

Oh - and don’t worry - we’re pretty relaxed over here for the most part :slight_smile: (We also don’t close threads if other SDKs are mentioned ;))

Peach :slight_smile: [import]uid: 52491 topic_id: 17970 reply_id: 68755[/import]

Storyboard is only available at the moment to subscribers. There are two external libraries: Director and Scene Manager. There is a whole forum here to deal with Director. Search the forums for Scene Manager.

[import]uid: 19626 topic_id: 17970 reply_id: 68789[/import]

I realized that after going to bed, sorry hapiapps, I had it in my mind you were a subscriber - but did you try the director tutorial/example link?

Peach :slight_smile: [import]uid: 52491 topic_id: 17970 reply_id: 68862[/import]