Loading and Layering?

Get help using Construct 2

Post » Fri Apr 12, 2013 5:52 pm

I downloaded Construct 2 from Steam a day ago and so far I've gotten the hang of the basics. I'm messing around with a simple puzzle game where you move a small cube into a green zone. When it reaches the green zone I'd like to change to the next level, question is how do I?

I'm assuming a "level" is the layout, correct? I've had a wander around the interface but I can't seem to figure out how I set it so when my Sprite goes into the zone sprite it switches... Which brings me to my second question, I placed the Green square sprite last which is where the player needs to get to, since I placed it last it's the top layer how can I change this?

Thank you for the help. :)
B
5
Posts: 13
Reputation: 555

Post » Fri Apr 12, 2013 6:46 pm

A layout is not necessarily a level, You could just destroy level one then set it up differently on ther same layout, creating level two, three and so on...Check The manual regarding layouts.Pixel perfick2013-04-12 18:50:14
As long as I can move left, right and fire, I'm Happy...
B
42
S
15
G
11
Posts: 655
Reputation: 12,260

Post » Fri Apr 12, 2013 7:41 pm

@KonkorFour - If you do want to treat layouts as levels, switching between them is pretty simple. Look at the System action "Go to Layout" (you can read about in the manual here). I recommend reading through the whole manual when you can - it really does help.

Basically what you want is to detect a collision between the player and the green square and call "Go to layout - Level 2" (or something along those lines).

For your second question, you can right click an object and move it to another layer that way, although I'm assuming that both are actually on the same layer and that what you really want to do is change the z-order - check out the manual entry on the z-order bar here.

Can't stress enough how helpful the manual is - it's rare to have one so well organized these days, so it'd be a shame to not use it ;) Going through a few tutorials and the example files is big help too.

Good luck!rogueNoodle2013-04-12 19:43:02
B
9
S
3
G
4
Posts: 63
Reputation: 3,083


Return to How do I....?

Who is online

Users browsing this forum: Colorfish, Waltuo and 4 guests