Apologies for the very basic question.
I’m working on a fairly simple game to try and learn Corona and Composer (Which seem awesome btw).
I have a fairly simple game flow:
Main Menu
Start Game
-Game Scene 1
-Game Scene 2
For the sake of simplicty, let’s assume Game Scene 1 is a dungeon and Game Scene 2 is a forest. Those scenes have slightly different functionality.
On top of both Scene 1 and Scene 2 I want a persistent UI showing things like name, health, etc.
I’m not exactly sure how to best organize that.
My first stab was to put the persistent UI as an overlay and then just use gotoScene(1) and gotoScene(2).
However, the gotoScene functionality wipes out the overlay.
My next thought is to do the same thing but just have ONE scene and just load and unload assets and funcitonlaity, but that seemed weird to me.
So basically what I’m curious about is what’s the “right way” to have a persistent UI on top of different types of game funtionality in Corona?
Thanks!