next layout

Get help using Construct 2

Post » Fri May 03, 2013 5:03 pm

How to make: object1 and object2 are in collision -> go to next layout.
pls help me
B
24
S
4
G
2
Posts: 318
Reputation: 2,446

Post » Fri May 03, 2013 5:07 pm

B
50
S
14
G
12
Posts: 813
Reputation: 16,764

Post » Fri May 03, 2013 6:49 pm

ahhh no :-D
i have one universal event sheet. This your solution is for individual sheete...
B
24
S
4
G
2
Posts: 318
Reputation: 2,446

Post » Fri May 03, 2013 6:59 pm

use Tekniko's solution! just add an condition is on level01
that way you can use 1 sheet
B
18
S
6
G
3
Posts: 197
Reputation: 4,129

Post » Sat May 04, 2013 9:30 pm

hmmm ok :/
B
24
S
4
G
2
Posts: 318
Reputation: 2,446

Post » Sat May 04, 2013 9:39 pm

Tekniko's solution has nothing to do with the number of event sheets you're using. If all of your levels use the same event sheet, you need to find a way to determine what the "next layout" will be.

Most of the time that'll be a global variable, something like CurrentLevel will do. Then, once the win conditions have been met (in your case, the collision of two objects), then run two actions, one to increment the CurrentLevel by 1, and another to Go to layout "Level"&CurrentLevel.
B
56
S
15
G
10
Posts: 910
Reputation: 11,942


Return to How do I....?

Who is online

Users browsing this forum: Magistross, zatyka and 18 guests