Help please - Pause behavior

Using the pause/unpause behavior, when i pressed the unpause button, it immediately unpause and click also the actor in the game scene, how avoid that?

Comments

  • FallacyStudiosFallacyStudios Member Posts: 970
    So when you unpause it is automatically pausing it again because the actors used are on top of eachother? You can set up the Pause menu Resume button to be on Touch Released Unpause game.
  • Tiny_StudioTiny_Studio Member Posts: 50
    edited August 2013
    @FallacyStudios No, when I touch "unpause", it unpause the game but also click an actor who is in the game scene, so the actor does the action. I want the "unpause" only unpause
  • FallacyStudiosFallacyStudios Member Posts: 970
    Use Touch Release on the unpause button and make sure the other button under it is on Touch Pressed
  • zoopezoope Member Posts: 210
    Set a boolean on the actor, and clear it after, maybe 0.5 secs when unpaused. This will avoid accidental clicks.

    On the actor, pause only when the flag is reset.
Sign In or Register to comment.