I have a "pause" global variable of 1 and the follow events:
<img src="http://img96.imageshack.us/img96/3666/jwkr.jpg" border="0" />
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?
Develop games in your browser. Powerful, performant & highly capable.
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