Hello guys! I have a quick question for the community: How does one use the same keyboard key to "un-pause" a game in Construct 2? My logic is set up as so: if return key pressed:(system set pause = 0)... the game does what I commanded it to do and pauses the action. but when I add the same line for exiting the pause (a slight change to the system set pause variable) script I get a nullified logic return. Am I performing this logic correctly? is there another way to use the same key/button to enter and exit pause menu mode? Thank you guys for any help asap.
You can toggle variable boolean in event sheet on same key pressed.
If true, pause game and false is unpause.
Nevermind guys... I figured out an efficient substitute for my situation. Taking the command prompt out of the trigger did the trick! I love using this game engine!!! So many ways to accomplish one's goal! :D
Develop games in your browser. Powerful, performant & highly capable.
Thank you for the reply mate! I'll take a look at that option as well... Thanks for the quick answer!
No problem BlackMask