Pause,Unpause HELP
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
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
wow i was almost going to smash my computer up 4hrs waisted on a timer behavior