How to Transition From App Development Team Screen to Main Menu Screen

Seems like a very simple thing to do but I am having trouble transitioning from the opening app development team screen to the main menu.

I would like the app to automatically open up to the app dev. team screen and then to automatically transition to the Main Menu Screen after a 2.5 second delay.

What would the code look like to do this? I am very anxious to hear back, thank you! [import]uid: 46629 topic_id: 32100 reply_id: 332100[/import]

More or less transitioning from an initial splash screen to a main menu screen after a 2.5 second delay. [import]uid: 46629 topic_id: 32100 reply_id: 127876[/import]

If your using Director you could simply do:

local function nextPage()  
 director:changeScene("mainMenu")  
end  
local pageTimer = timer.performWithDelay(2500, nextpage, 1)  

That just calls directors normal scene transition after a 2.5 second delay. Is that what you had in mind? [import]uid: 69826 topic_id: 32100 reply_id: 127889[/import]

I saw you posted this at least one other place in the forum – once is probably enough. Post the same question multiple times and people start getting crotchety. :wink:

What TandG said above – also, if you want the default splash picture to hang around for 2.5 seconds, I don’t think there’s any way to specify that. But you could make the initial picture in your app the same as your default splash screen, then wait 2.5 seconds and do the transition.

Jay
[import]uid: 9440 topic_id: 32100 reply_id: 127893[/import]

@skylersb

I am in the midst of producing a starter kit: SSK for Corona SDK

Among other things, this kit includes a bare game template using storyboard. In this template I start on a splash/loading screen and transition to a main menu after a delay.

You can download the whole kit and then look at the framework under SSKCorona/frame/*.

Cheers,
Ed [import]uid: 110228 topic_id: 32100 reply_id: 127947[/import]

Couldn’t help but notice you made this thread twice in two different areas; please don’t do that, it makes the forum messy: http://developer.anscamobile.com/forum/2011/05/05/forum-rules-and-guidelines

Thanks :wink:

Peach [import]uid: 52491 topic_id: 32100 reply_id: 127982[/import]

More or less transitioning from an initial splash screen to a main menu screen after a 2.5 second delay. [import]uid: 46629 topic_id: 32100 reply_id: 127876[/import]

If your using Director you could simply do:

local function nextPage()  
 director:changeScene("mainMenu")  
end  
local pageTimer = timer.performWithDelay(2500, nextpage, 1)  

That just calls directors normal scene transition after a 2.5 second delay. Is that what you had in mind? [import]uid: 69826 topic_id: 32100 reply_id: 127889[/import]

I saw you posted this at least one other place in the forum – once is probably enough. Post the same question multiple times and people start getting crotchety. :wink:

What TandG said above – also, if you want the default splash picture to hang around for 2.5 seconds, I don’t think there’s any way to specify that. But you could make the initial picture in your app the same as your default splash screen, then wait 2.5 seconds and do the transition.

Jay
[import]uid: 9440 topic_id: 32100 reply_id: 127893[/import]

@skylersb

I am in the midst of producing a starter kit: SSK for Corona SDK

Among other things, this kit includes a bare game template using storyboard. In this template I start on a splash/loading screen and transition to a main menu after a delay.

You can download the whole kit and then look at the framework under SSKCorona/frame/*.

Cheers,
Ed [import]uid: 110228 topic_id: 32100 reply_id: 127947[/import]

Couldn’t help but notice you made this thread twice in two different areas; please don’t do that, it makes the forum messy: http://developer.anscamobile.com/forum/2011/05/05/forum-rules-and-guidelines

Thanks :wink:

Peach [import]uid: 52491 topic_id: 32100 reply_id: 127982[/import]