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
25
S
4
G
2
Posts: 318
Reputation: 2,481

Post » Fri May 03, 2013 5:07 pm

B
53
S
14
G
13
Posts: 818
Reputation: 17,404

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
25
S
4
G
2
Posts: 318
Reputation: 2,481

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
25
S
4
G
2
Posts: 318
Reputation: 2,481

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
57
S
15
G
10
Posts: 912
Reputation: 12,061


Return to How do I....?

Who is online

Users browsing this forum: Kermad and 6 guests