about tutorials/levels (the basics)

Get help using Construct 2

Post » Thu Jan 23, 2014 4:21 pm

What is a good method for creating tutorials (or levels)?

Let's say you have a puzzle game with different levels.
I started making level 2 in a new layout, with a new event sheet.
I wonder if I am doing this in the correct way, because the new event sheet doesn't "know" anything. I end up copying all important events to the new event.
Is that how you make new levels (or tutorials?)?
B
28
S
6
G
7
Posts: 681
Reputation: 5,682

Post » Thu Jan 23, 2014 5:22 pm

copying the same events is not good practice...simply go to properties bar in layout 2 and select "event sheet" event sheet1...
As long as I can move left, right and fire, I'm Happy...
B
42
S
15
G
11
Posts: 655
Reputation: 12,270

Post » Thu Jan 23, 2014 5:42 pm

Like it says in the manual including event sheets with global events into layout-specific event-sheets is usually the best practice, but there is no absolute right or wrong.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Jan 23, 2014 8:22 pm

Sorry, @LittleStain, but I disagree: copyng and pasting same events instead of using functions or equivalent is deprecated in all programming languages...
I'm not a insane, my mother had me tested

I'm an engineer. To save time, just assume I'm never wrong
B
30
S
13
G
4
Posts: 141
Reputation: 4,832

Post » Thu Jan 23, 2014 8:35 pm

Did I say anything about copy-pasting?
Including event sheets is not copy pasting..
It's referencing an event sheet in another and thereby not needing to copy-paste.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Jan 23, 2014 8:38 pm

right click on an event sheet choose include and all events on that sheet also count for this event sheet.
You can only use one event sheet per layout, but this event sheet can have many others included.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Jan 23, 2014 8:49 pm

@rogerty, what seems to work the best for me is to create an event sheet that is a superclass (aka parent class) for all of the levels. The superclass contains all the logic that is the same for all the levels. Then, as @LittleStain said, you would include that superclass event sheet in each of the levels.

Also, in my superclass, I've created many functions that the regular level event sheets can call. It definitely helps the readability of all the event sheets and it makes creating each additional level much faster.
B
20
S
4
G
1
Posts: 185
Reputation: 2,563

Post » Thu Jan 23, 2014 9:42 pm

I use Includes and it seems to work out well for me. I actually have a level game I just uploaded to the arcade and I used includes for it all.

What I did was make sure I grouped everything that went together for each level on 1 sheet and then I made and event sheet called "Includes" and added all the other sheets to it. Then with every level layout I made a new event sheet and then just added the includes to each new level sheet.

See it here if you want

I hope this was clear sorry.ALLMarkMade2014-01-23 21:43:42
Check out my latest game RAPID-TAPIT. Get your Fingercise on with this one. A steady Tap is all you need to score points. Lift a finger and see what you can do...

Image

ALLMarkMade Designs
B
37
S
18
G
4
Posts: 364
Reputation: 6,212

Post » Thu Mar 06, 2014 9:27 pm

Thanks for the replies, very useful!
B
28
S
6
G
7
Posts: 681
Reputation: 5,682


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 8 guests