Search code examples
storyboardcoronasdkscenecorona-storyboard

Understanding Scenes in Corona SDK


I am very new to Corona.

In my game, i would like to have a menu with several options (like "single player" or "settings"). When tapping any of those options that screen fades away and a new one appears.

This next screen (after tapping "single player" for example) should have some text like "Choose your character" and once the user taps their character, another screen fades in, etc.

I wanted to know if what I'm talking about are called scenes, if not, what are they and how do they work?

Please feel free to explain, or if it's too much, post a link to an understandable source, like another stack overflow question or a youtube video.

One more thing, is it possible to have the user swipe the screen, which would trigger an event that takes him/her back to a different screen/scene?


Solution

  • Here is the link to understand the storyboard of corona : Corona storyboard

    And yes you can use a swipe event to trigger screen pagination. For that,refer this question: How to slide pages in Corona SDK