Pause then play problem

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

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    Put a play button actually on the Pause screen, and have an un-pause behavior on it.
  • Justin007hJustin007h Member Posts: 52
    If that would work but if not I mean like, for example a ball drops as soon as you enter the scene but you only want the ball to drop when you hit the play button. (for the ball to drop) if you still don't understand here's an example. the game bubble ball, when you enter level one the ball isn't moving until you hit the play button. Similar to my situation for people familiar with bubble ball you would understand. But I'll try Jamie's suggestion to see of it will work thanks :-?
  • stackpoolestackpoole Melbourne, Victoria, AustraliaMember, PRO Posts: 473
    There are many ways of doing this
    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!!

  • Justin007hJustin007h Member Posts: 52
    What do you mean by "a rule that allows the ball to go down when you enter the scene"?
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    What do you mean by "a rule that allows the ball to go down when you enter the scene"?
    Simply that you either have scene gravity, a Move/Accelerate/Change Velocity behavior, or an actual Rule that starts one of those behaviors to make the ball move down the screen.

    If you follow what @zhongapps wrote it will work.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.