Scenes And Storyboards?

I started developing a 2d turn based war game and need a “pop-up” type of screen after a battles results are determined.  In this scene I need to add buttons and other clickable things to interact on it with.  I have been reading about Storyboarding and Scenes.  Since I started the game not using these can I call a new screen into being and then when done exit and destroy it and go back to the “main screen”?  Any example code?

I looked at the example code to goto scene2 from scene1 but since I don’t have a scene1 do I just exit scene2 after I am done with it and does it automatically go back to the defualt screen?  OR do I need to move my main.lua code to a scene1 file and start the game by calling scene1?

Thanks!

Gib

No one yet eh? lol.

Ok after doing more research I found display.newGroup() and that sounds like what I need for a “pop-up”/“overlay” screen to allow me to pick/assign casualties from a battles results.

So now I am curious when would one use the Storyboard/Scene thing and when should you do a new display.newGroup()?

Thanks in advance!

Gib

are you using Storyboard?  Look at storyboard.showOverlay()

No one yet eh? lol.

Ok after doing more research I found display.newGroup() and that sounds like what I need for a “pop-up”/“overlay” screen to allow me to pick/assign casualties from a battles results.

So now I am curious when would one use the Storyboard/Scene thing and when should you do a new display.newGroup()?

Thanks in advance!

Gib

are you using Storyboard?  Look at storyboard.showOverlay()