Menu screen transition to actual game

How do I set up a menu screen that has the ability to transfer someone to the game when they hit play? I have the game code in a main.lua file. [import]uid: 39628 topic_id: 7741 reply_id: 307741[/import]

I use the main.lua just to start my app. I then load mainmenu.lua. From there, the user can go to the options menu or choose a level. [import]uid: 11809 topic_id: 7741 reply_id: 27531[/import]

do i need to have a director thing setup or something besides those two files? [import]uid: 39628 topic_id: 7741 reply_id: 27552[/import]

I use director for my screen transitions. Take a look at the sample and the video that Ricardo has done. Also check the update version that Jon Beebe did, it works well. [import]uid: 11809 topic_id: 7741 reply_id: 27589[/import]

Just to add to this;
http://techority.com/2010/11/19/how-to-use-scenesscreens-in-corona/

That’s a tutorial with a sample project; if you’re confused it should help. (I’ve had a good amount of positive feedback.) [import]uid: 10144 topic_id: 7741 reply_id: 27621[/import]

If you don’t require transitions and just screen changes then i second Jon Beebes director version as it’s very efficient removing groups etc. Else Ricardo’s version 1.2 of director class. [import]uid: 33866 topic_id: 7741 reply_id: 27625[/import]