How to change scenes in a Business application (not game)

Hello, i am new in mobile development with corona sdk. I want to develop a simple business app which shows an overview of a company… I have just created my own menu with some images and touch methods , but my problem is how to develop a simple way to change scenes within the app… can you help me?? it would be nice if you could suggest me a solution to the problem! [import]uid: 168570 topic_id: 30693 reply_id: 330693[/import]

My opinion would be for you to go look into:

Corona SDK >> Sample Code >> Interface >> Storyboard

There you will find a first-step for you to go ahead. Storyboard is the official “scene`s controller” of CoronaSDK and so it is always updated and has a nice documentation about it here in the site as well as some blogs explaining its functionality.

PS: Forget that youre "newbie" and go ahead. As soon as you keep into it youll see that youre being far from newbie fast because CoronaSDK allows you to get up quickly and it isnt very hard at all (principally if you go looking other programing languages out there).
Good Luck.
Cheers,
Rodrigo.

[import]uid: 89165 topic_id: 30693 reply_id: 122978[/import]

Thanks for your advice Rodrigo! [import]uid: 168570 topic_id: 30693 reply_id: 122979[/import]

You`re welcome!

And am sure that if you really take a “care look” in the sample code provided by Corona, well, you`ll be able to go ahead. BUT if not, come back here and let us know how we can help you out anyway.
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 30693 reply_id: 122980[/import]

i am studying the storyboard api right now… but i have a question… whats the difference between createscene and enterscene?? i put my code entirely on createscene and looks its working… whats the philosophy of whose two?? [import]uid: 168570 topic_id: 30693 reply_id: 122988[/import]

If you want the fancy transitions from one scene to another you need to “build” your scene inside createScene – whatever is put in there is moved onscreen when you do a transition.

If you just wanted to snap from one scene to another (no transition effect) you could ditch everything in the storyboard template except enterScene and just put your code in that.

Jay

PS - There are more difference between the two, but that’s the one most people care about. [import]uid: 9440 topic_id: 30693 reply_id: 122989[/import]

well… i want only one transition effect, the clasic slide of ios… Then i have to put my code only in createScene… Am i right?! [import]uid: 168570 topic_id: 30693 reply_id: 122992[/import]

Give this blog post a read -

http://www.coronalabs.com/blog/2012/03/27/storyboard-scene-events-explained/

Explains a lot about Storyboard and how all the events work.

Dave [import]uid: 117617 topic_id: 30693 reply_id: 122994[/import]

Thanks Devs for getting into the thread willing to help as well.
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 30693 reply_id: 123038[/import]

What Dave said, and yes, if you want the slide effect you’ll have to create/show your display objects inside the createScreen function.

Jay [import]uid: 9440 topic_id: 30693 reply_id: 123041[/import]

My opinion would be for you to go look into:

Corona SDK >> Sample Code >> Interface >> Storyboard

There you will find a first-step for you to go ahead. Storyboard is the official “scene`s controller” of CoronaSDK and so it is always updated and has a nice documentation about it here in the site as well as some blogs explaining its functionality.

PS: Forget that youre "newbie" and go ahead. As soon as you keep into it youll see that youre being far from newbie fast because CoronaSDK allows you to get up quickly and it isnt very hard at all (principally if you go looking other programing languages out there).
Good Luck.
Cheers,
Rodrigo.

[import]uid: 89165 topic_id: 30693 reply_id: 122978[/import]

Thanks for your advice Rodrigo! [import]uid: 168570 topic_id: 30693 reply_id: 122979[/import]

You`re welcome!

And am sure that if you really take a “care look” in the sample code provided by Corona, well, you`ll be able to go ahead. BUT if not, come back here and let us know how we can help you out anyway.
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 30693 reply_id: 122980[/import]

i am studying the storyboard api right now… but i have a question… whats the difference between createscene and enterscene?? i put my code entirely on createscene and looks its working… whats the philosophy of whose two?? [import]uid: 168570 topic_id: 30693 reply_id: 122988[/import]

If you want the fancy transitions from one scene to another you need to “build” your scene inside createScene – whatever is put in there is moved onscreen when you do a transition.

If you just wanted to snap from one scene to another (no transition effect) you could ditch everything in the storyboard template except enterScene and just put your code in that.

Jay

PS - There are more difference between the two, but that’s the one most people care about. [import]uid: 9440 topic_id: 30693 reply_id: 122989[/import]

well… i want only one transition effect, the clasic slide of ios… Then i have to put my code only in createScene… Am i right?! [import]uid: 168570 topic_id: 30693 reply_id: 122992[/import]

Give this blog post a read -

http://www.coronalabs.com/blog/2012/03/27/storyboard-scene-events-explained/

Explains a lot about Storyboard and how all the events work.

Dave [import]uid: 117617 topic_id: 30693 reply_id: 122994[/import]

Thanks Devs for getting into the thread willing to help as well.
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 30693 reply_id: 123038[/import]

What Dave said, and yes, if you want the slide effect you’ll have to create/show your display objects inside the createScreen function.

Jay [import]uid: 9440 topic_id: 30693 reply_id: 123041[/import]