Hi I had the same question the best answer I found was put the pause menu on the screen set the opacity to 0 and when u press the pause button make that change the opacity of the pause menu to 1
What he means is: Rule when touch (of the pause button) is released Change attribute self.color.alpha to 1 Pause game Otherwise: Change attribute self.color.alpha to 0 Unpause game
Comments
Rule when touch (of the pause button) is released
Change attribute self.color.alpha to 1
Pause game
Otherwise:
Change attribute self.color.alpha to 0
Unpause game
I hope it helps.
Rule: when touch is released
change attribute (an attribute boolean of the game) game.yourattribute to true
Rule: attribute game.yourattribute is true
Rule: touch is released
change attribute game.yourattribute to false
unpause game
IN YOUR POP UP MENU:
Rule: attribute game.yourattribute is true
change attribute: self.color.alpha to 1
pause game
otherwise:
change attribute: self.color.alpha to 0
If it doesn't work please let me know.
Rule:
touch is released
attribute game.yourattribute = false
pause game
change attribute game.yourattribute to true
Rule:
touch is released
attribute game.yourattribute = true
unpause game
change attribute game.yourattribute to false
Well I think because I don't really understand what you want.