How to get game to start over?

Get help using Construct 2

Post » Wed Oct 16, 2013 9:04 pm

How do I get my beginners tutorial game to start over at the end? I posted in the archives here is the link? Thanks in advance.


http://www.scirra.com/arcade/shooter/9680/beginners-tutorial
B
4
Posts: 14
Reputation: 315

Post » Wed Oct 16, 2013 9:24 pm

when score equals monster kill goal, system action -> restart layout

Is that what you're looking for?
B
63
S
12
G
6
Posts: 456
Reputation: 8,985

Post » Wed Oct 16, 2013 9:25 pm

player is destroyed
   -system-restart layout
B
25
S
4
G
1
Posts: 47
Reputation: 1,723

Post » Thu Oct 17, 2013 7:55 pm

Sounds fantastic, where do I add it?
B
4
Posts: 14
Reputation: 315

Post » Thu Oct 17, 2013 10:08 pm

You may want to spend more time going through some of the tutorials as they answer many of these questions pretty well. You can honestly add that bit of logic anywhere. If you have an event that kills the player, put it there. If not, have a condition that checks to see the state of the player and then restarts the layout. Personally in my games when I am testing I put a long sprite that extends the entire length of the layout at the bottom and have it restart layout whenever the player touches it.

That way any time the player falls off the level it restarts.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,603


Return to How do I....?

Who is online

Users browsing this forum: volumetv and 45 guests