Cut scene/Introduction Scenes

Hi Guys,

I’m new to Corona and was wondering if anyone had any tips for how to build a cut scene/introduction scene.  I have a a number of individual sprite sheet animations, audio (sound effects and speech) and other elements such as speech balloons etc… All of these need to be played in sync with each other and triggered at certain points.  Obviously in Flash (converting a game from Flash to Corona) was easy with MovieClip frames but I’m currently at a lose of what to do in Corona.

Cheers

Corona is also fps based i.e. you set the framerate in the config file and you run a

Runtime:addEventListener( “enterFrame”, myFunction )

myFunction() will be triggered each frame -based on the fps settings in config file.

If the chunk of code you decide to run each frame is to resource consuming, it will, at some point “lag” ( like heavy use of spawning like particle stuff and so on…)

I would spend a good deal of time on optimising the code and constantly freeing up memory

and buffer up sounds and graphic by loading this into memory before you run the sequences

Keep in mind that all this can be planned like transissions between sceenes, eventlisteners, timers, they all have time params :slight_smile:

also be shure of wich platforms you are going to develop on

Hope this will help you out

Corona is also fps based i.e. you set the framerate in the config file and you run a

Runtime:addEventListener( “enterFrame”, myFunction )

myFunction() will be triggered each frame -based on the fps settings in config file.

If the chunk of code you decide to run each frame is to resource consuming, it will, at some point “lag” ( like heavy use of spawning like particle stuff and so on…)

I would spend a good deal of time on optimising the code and constantly freeing up memory

and buffer up sounds and graphic by loading this into memory before you run the sequences

Keep in mind that all this can be planned like transissions between sceenes, eventlisteners, timers, they all have time params :slight_smile:

also be shure of wich platforms you are going to develop on

Hope this will help you out