Pause Global Variable

Get help using Construct 2

Post » Sun Aug 18, 2013 9:23 am

I have a "pause" global variable of 1 and the follow events:



But when I press Spacebar, the game doesn't pause.

When I delete the condition "pause=1" under the first event, I get the same results: the game doesn't pause.

Is it because the Spacebar is already pressed for the second event, so the game thinks the event is already done?
B
11
S
4
G
3
Posts: 210
Reputation: 5,318

Post » Sun Aug 18, 2013 9:34 am

They are both activated: first you set the pause to 0 and immediately back to 1 after that. Try this instead:

On space pressed
-- pause = 1 -> stuff
-- else -> stuff
B
24
S
9
G
7
Posts: 756
Reputation: 7,312


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 7 guests