Go to Next Layout

Get help using Construct 2

Post » Sun Oct 20, 2013 4:01 am

Hi Construct community,

This is my first forum post! I recently began using Construct 2 after using Multimedia Fusion 2 for about 2 years, and I am stuck. I'm trying to change to the next layout when the player collides with the yellow square. I've tried using a global variable, but when it changes layouts the ball will not move. I've searched other solutions on the forums but none are working... MMF2 had a simple "Go to next frame" event that made things so much easier.

I have the file in Dropbox but I'm not allowed to insert hyperlinks yet, so if someone could explain it in a fool-proof manner, it would be much appreciated!

Thanks for the help!
B
22
S
4
G
1
Posts: 153
Reputation: 1,938

Post » Sun Oct 20, 2013 4:12 am

select object on collision with yellow square system go to layout choose layout
B
9
S
1
Posts: 32
Reputation: 656

Post » Sun Oct 20, 2013 5:02 am

Use System > Go To Layout
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,603

Post » Sun Oct 20, 2013 5:06 am

I did that, but the problem is that in Layout 2 it's still using the same rules of Layout 1, so it will just restart Layout 2.
The solution that works is making a unique event sheet for each layout and having a unique yellow square, but there's no way that could be efficient.
B
22
S
4
G
1
Posts: 153
Reputation: 1,938

Post » Sun Oct 20, 2013 5:14 am

And the ball physics don't work when the Layout changes...
B
22
S
4
G
1
Posts: 153
Reputation: 1,938

Post » Sun Oct 20, 2013 5:37 am

I'm trying to change layouts with all the layouts using one event sheet. Is that even possible?
B
22
S
4
G
1
Posts: 153
Reputation: 1,938

Post » Sun Oct 20, 2013 5:45 am

Solved it, just cloned the yellow square. I guess I'll have 100 yellow squares for 100 levels.
B
22
S
4
G
1
Posts: 153
Reputation: 1,938


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 23 guests