I know they say only one overlay is allowed. Does that mean only one overlay at a time but I can still have multiple overlays just not on the screen at the same time? Or can we literally only have one overlay per scene?
Thanks for your time.
I know they say only one overlay is allowed. Does that mean only one overlay at a time but I can still have multiple overlays just not on the screen at the same time? Or can we literally only have one overlay per scene?
Thanks for your time.
Animationarsenal,
You can have several overlays useable in one or more scenes.
I have an app with 2 scenes (mainScene, gameScene). I have 2 overlays (menuOvly, infoOvvly).
From either scene, user can press menu button and the menuOvly slides over the top of the scene.
From either scene, user can press info button and the infoOvly slides over the top of the scene.
Only one of the overlays can be in use at the same time. I set the options.isModal to true for each of the overlays so when either overlay is covering the scene, no touch events can occur on the scene underneath it.
good luck
Bob
Awesome Bob, thank you for the response. That was how I was hoping they were going to work. That makes things a lot easier for me. Thanks again Bob for the quick response.
Animationarsenal,
You can have several overlays useable in one or more scenes.
I have an app with 2 scenes (mainScene, gameScene). I have 2 overlays (menuOvly, infoOvvly).
From either scene, user can press menu button and the menuOvly slides over the top of the scene.
From either scene, user can press info button and the infoOvly slides over the top of the scene.
Only one of the overlays can be in use at the same time. I set the options.isModal to true for each of the overlays so when either overlay is covering the scene, no touch events can occur on the scene underneath it.
good luck
Bob
Awesome Bob, thank you for the response. That was how I was hoping they were going to work. That makes things a lot easier for me. Thanks again Bob for the quick response.