Hide Scene?
crazymooseapps
Member, PRO Posts: 30
First of all I want to thank everyone who helps people on these forums! Your time and patience is appreciated.
I was wondering how, if possible, to hide and show a scene. I want to hide the scene when pause buitton is pressed to show the pause screen then unhide it when game is unpaused. Any help?
Comments
Perhaps having an actor with 0 alpha could blanket the entire scene, and when you pause change its alpha to whatever is necessary.
I would basically do what @Twayne2 says. In your Pause scene put a block of color that covers the full screen and then build your pause scene on top of it. Then that block of color will totally cover the underlying scene, effectively hiding it.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
yep. as above.
the pause screen/scene i used on taco bob basically has one actor that covers a couple of pixels extra over all four sides sides, and is just a black coloured rectangle in the back most layer that has an alpha set so you can barely see through it when the game is paused.
hope your project is coming along well.