For my game I am using the storyboard API. So far I have implemented a splash scene and the main game scene. (main.lua calls scene in splash.lua, splash scene calls game scene in game.lua)
Now I wonder how to handle the applicationSuspend and applicationResume events the right way. I had a look at the docs, the API references and some of the not very detailed examples.
The examples I found are either showing a placeholder comment or just print out some values (event.name).
How do I get back to the game.lua scene with all graphics and objects in place where they where before?
Where should I place the listeners for these system events? In main.lua or game.lua?
Are there any tutorials or code examples I missed?
Thank you! [import]uid: 96902 topic_id: 18824 reply_id: 318824[/import]
[import]uid: 52491 topic_id: 18824 reply_id: 72600[/import]