One Giant Event Sheet

Get help using Construct 2

Post » Fri Mar 07, 2014 8:50 am

I've been developing my game for a while using a single event sheet and setting every parameter as "if LayoutName = "Whateverthelayoutnameis", and then having all of my events under those for each layout. While everything works fine this way, I loaded up the debugger just to play around with, and it looks like stuff that should NOT be utilizing CPU actually is (very minimal, 0.1% here or there, but it adds up rather quickly).

Is the way I'm going about this wrong? Should I have an event sheet for each layout? Or is there a better way to do a one event sheet game?
B
38
S
12
G
1
Posts: 526
Reputation: 4,085

Post » Fri Mar 07, 2014 9:27 am

Why do you need to use one event sheet?
I use one event sheet for each layout.Another event sheet(s) for animations,player,environment etc.It's much easier and cleaner.
I will not let you reach the sisters
Nature Forums
B
11
S
5
G
2
Posts: 496
Reputation: 2,306

Post » Fri Mar 07, 2014 9:38 am

@DocAi - Originally I thought it would be easier to search for certain things. I suppose I could make an event sheet for each layout, but I have over 60 layouts; it might be a bit of pain at this point. I wouldn't count it out if I couldn't find a solution, however.
B
38
S
12
G
1
Posts: 526
Reputation: 4,085

Post » Fri Mar 07, 2014 10:02 am

You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,708

Post » Fri Mar 07, 2014 1:48 pm

You should use event sheet includes to share common events between layouts, and have a separate event sheet for layout-specific events. Having one sheet which checks the layout name will be harder to manage and unnecessarily degrade performance.
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,240

Post » Fri Mar 07, 2014 6:20 pm

I was afraid of that :X

Thanks!
B
38
S
12
G
1
Posts: 526
Reputation: 4,085


Return to How do I....?

Who is online

Users browsing this forum: apalm1341, blissfulwizard and 16 guests