Pause then play problem
Justin007h
Member Posts: 52
Hey guys I can't figure out how to make it where the scene is paused and nothing is moving. Until the player hits the in game play button but I will use the pause game rule so everything stays put. But then the play button is paused too so that I can't use it and the scene stays paused, help?
Comments
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
One simple way is to make a boolean, say for e.g. "game.start" [Make a boolean called "start"]. Make this boolean false. i.e. do not tick it
Then im guessing you have a rule somewhere that allows the ball to go down when you enter the scene. In this actor with this rule, add:
When game.start is true
=> [Let ball go down]
Then in your play button, make a rule
When touch is pressed:
=> change attribute game.start TO true
So in other words, when you click the play button, the boolean becomes true and the ball drops when it is true.
Hope this helps
Sydney Swans 2014!!
If you follow what @zhongapps wrote it will work.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User