Level layouts

Get help using Construct 2

Post » Sat Aug 04, 2012 1:59 pm

Hi,

I am having these type of layouts:

Level1
Level2
Level3
Level4
Level5
etc.

How can I make, that when player collides with the goal on each level layout, the system goes to next level layout, but it all would only happen from one level sheet, which would be connected to all of these level layouts.

I just don't think, that it is great to make for each level its level sheet just because, so when player wins, he gets to next level layout. It all can probably be done only from one event sheet.

Thanks.
B
4
Posts: 42
Reputation: 559

Post » Sat Aug 04, 2012 2:04 pm

do this :
first of all put a variable on the goal object (text variable)
event1
    condition : player collision with goal
    action: go to layout by name --> goal.textvariable
and put the name of layout on each goal object for example on level1 you will write level2 and so on in all levels
B
48
S
15
G
6
Posts: 795
Reputation: 12,035

Post » Sat Aug 04, 2012 2:06 pm

Ok, thanks! Will do it like that.
B
4
Posts: 42
Reputation: 559

Post » Sat Aug 04, 2012 2:16 pm

@zsangerous Just tested and works great! :)

Thanks!
B
4
Posts: 42
Reputation: 559

Post » Sat Aug 04, 2012 2:17 pm

your welcome
B
48
S
15
G
6
Posts: 795
Reputation: 12,035


Return to How do I....?

Who is online

Users browsing this forum: linkman2004, SpartCrafter and 27 guests