I’ve found out there is a way to make a storyboard scene as a “popup” over another scene such that you can still see the underlying scene.
All you have to do is when you call the popup:
storyboard.gotoScene("popupmenu")
make sure that in the “enterScene” event of popupmenu.lua, you need to add this code:
local gameScreen = storyboard.getScene( "gamescreen" ) -- this is the scene below the popup
gameScreen.view.isVisible = true
gameScreen.view:toBack()
and in the “exitScene” event put this:
local gameScreen = storyboard.getScene( "gamescreen" ) -- this is the scene below the popup
gameScreen.view.isVisible = false
(Even if you are returning to “gamescreen,” setting the isVisible property will not have an adverse effect because the storyboard will immediately return it to visible)
I don’t know if anyone will find this helpful, but I was excited to find out. [import]uid: 62193 topic_id: 20451 reply_id: 320451[/import]
[import]uid: 62193 topic_id: 20451 reply_id: 80106[/import]