Add a second level?

Forum Home Forum Home > Construct 2 General > How do I....?
 Post Reply Post Reply Page  12>
Author
795 Rep
Post Options Post Options   Quote Sheep Quote  Post ReplyReply Direct Link To This Post Topic: Add a second level?
    Posted: 06 Mar 2012 at 7:22am
http://dl.dropbox.com/u/60325262/uploadtofacebook2262012.capx

That is my working capx file and I have been trying for about a week or two to add a second level. I can not for the life of me figure it out. As well I can not figure out how to add a new alien and get them to move with the cluster since I can't edit families in the free version.
Back to Top
1,334 Rep
Post Options Post Options   Quote zapmore Quote  Post ReplyReply Direct Link To This Post Posted: 06 Mar 2012 at 12:20pm
I have a global variable called "StageSelect" that start on 1. I personally prefer to use a new leyout for every new level and name them ex. "Stage1", "Stage2" etc. When the player finish stage, add 1 to "StageSelect" and add the event: [Go to layout: "Stage"&StageSelect]
Back to Top
795 Rep
Post Options Post Options   Quote Sheep Quote  Post ReplyReply Direct Link To This Post Posted: 06 Mar 2012 at 12:21pm
I have the free version, I have a layout limit.
Back to Top
1,334 Rep
Post Options Post Options   Quote zapmore Quote  Post ReplyReply Direct Link To This Post Posted: 06 Mar 2012 at 1:07pm
Originally posted by Sheep Sheep wrote:

I have the free version, I have a layout limit.


No, there is no layout cap, it is a cap on the layers you use in each layout which is set to 4.

Edited by zapmore - 06 Mar 2012 at 1:10pm
Back to Top
795 Rep
Post Options Post Options   Quote Sheep Quote  Post ReplyReply Direct Link To This Post Posted: 06 Mar 2012 at 2:16pm
Wouldn't that just change the image? I would still have to add effects to it. I should have clarified it is a space invader style game not a platform.
Back to Top
1,334 Rep
Post Options Post Options   Quote zapmore Quote  Post ReplyReply Direct Link To This Post Posted: 06 Mar 2012 at 2:37pm
Each layout need to be connected to at least one event sheet. I have 1 event sheet called "Game engine" that all stage layouts use. Every stage lauyout also have its own event sheet with stuff that only belongs to that specific level.

Edited by zapmore - 06 Mar 2012 at 2:40pm
Back to Top
795 Rep
Post Options Post Options   Quote Sheep Quote  Post ReplyReply Direct Link To This Post Posted: 06 Mar 2012 at 2:45pm
Confusing.
Back to Top

Scirra Developer
81,287 Rep
Post Options Post Options   Quote Ashley Quote  Post ReplyReply Direct Link To This Post Posted: 06 Mar 2012 at 2:52pm
A layout represents a level, so just make a new layout and use a 'go to layout' action to go to the next level. There are unlimited layouts in the free edition!

A layer is like a sheet of objects in a layout, and these are limited to 4 in the free edition.
Back to Top
1,008 Rep
Post Options Post Options   Quote Cassianno Quote  Post ReplyReply Direct Link To This Post Posted: 06 Mar 2012 at 2:54pm
No Sheep, it's not.

Imagine you have a standard event sheet, which contains collisions, enemies control (create/destroy/etc) and spaceship control.

For every layout (stage), you'll need to include this standard event sheet on the layout's event sheet.

Every layout MUST have at least 1 event sheet that will control spawning on stage. That's what zapmore is saying =D
Back to Top
795 Rep
Post Options Post Options   Quote Sheep Quote  Post ReplyReply Direct Link To This Post Posted: 06 Mar 2012 at 4:16pm
I understand the functions of what they do and their purpose but I do not understand implementing them into the right areas.
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down