Restarting level in a puzzle game

Get help using Construct 2

Post » Tue Aug 13, 2013 11:52 am

Actually the above won't work for your game. Sorry, do this :

On left button clicked on reset button > Restart layout, reset global variables to default.
B
47
S
18
G
84
Posts: 2,271
Reputation: 49,796

Post » Tue Aug 13, 2013 12:57 pm

the issue was on the restart of the layout all of your blocks were being destroyed and that would make the cubes_level_01 counter drop to -10 on restart of the layout.

so having a reset global variables like plinkie said or doing like paradox said and adding a "on start of layout > set cubes_level_01 to 3" (this is the way I also solved the problem when i tried before looking at the thread) the game resets the value to 3 on restart rather then following the code and leaving it at a -10 value.
B
26
S
7
G
1
Posts: 83
Reputation: 2,575

Previous

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 11 guests