Pause,Unpause HELP

gamedivisiongamedivision Member Posts: 807
edited November -1 in Working with GS (Mac)
i have a pause button on the screen when touched pauses game,no problem then on my pause game scene i have an Unpause button,no problem there.
now when i press pause i want a bar with the pause screen controls to interpolate from the left side of the screen in then when i unpause interpolate off screen,so i created an integer saying pause game
rule on pause button when touch is pressed pause game then change attribute game.pausegame to 1
then on the unpause when touch is pressed timer after .5 unpause game change attribute game.pausegame to 0
then on the bar that slides in on the pause screen when game.pausegame = 1 interpolate to
and when game.pausegame = 0 interpolate to
works fine but soon as i press the pause again it needs 2 touches to repause every time,
first time works with single touch every time after you need to double touch the pause for it to pause.
any ideas
thanks

Comments

  • gamedivisiongamedivision Member Posts: 807
    Anyone have an idea
  • gamedivisiongamedivision Member Posts: 807
    sorted it tshirtbooth i put a display text on there it wasnt triggering the touch, so i put a timer on pause button after 2 sec pause game now it registers both 1 and 0 touches
    wow i was almost going to smash my computer up 4hrs waisted on a timer behavior
Sign In or Register to comment.