[SOLVED] How can you limit a list of actions to a layout

Just started using Construct 2? Post your questions here

Post » Mon Apr 21, 2014 9:35 pm

Hello,

Since C2 free version is limited by 100 events, I am using 1 Event Sheet for more than 1 layout to try and work within the 100 events boundary. However, some of the levels in my game are a bit different in mechanics than the rest.
I would like to do something along the lines of "If a certain Layout is currently running, do X, Y and Z."
How can I do that?

Also (since the question text field wasn't enough to include this) I have this object that acts as a wall. I imported 3 different types of these walls and tweaked each as a separate object (instead of combining them into 1 object with different animations). The problem is, I need to run events for the 3 types now and I am running out of events in my game so is there a way to merge three sprites instead of recreating them?
I understand I can redo everything -- that is the point of asking this, I don't want to redo all the work I did for the 3 types again.

Thank you very much in advance,
Vallar.
Last edited by Vallar on Fri Apr 25, 2014 11:39 am, edited 1 time in total.
B
19
S
7
Posts: 161
Reputation: 1,751

Post » Wed Apr 23, 2014 8:48 am

Bump... still looking for a solution to this problem. Anyone know how to get around this?
B
19
S
7
Posts: 161
Reputation: 1,751

Post » Thu Apr 24, 2014 8:33 am

Still looking for the solution of multiple layouts using 1 event sheet... any idea how this is resolved?
B
19
S
7
Posts: 161
Reputation: 1,751

Post » Thu Apr 24, 2014 9:05 am

Good reading material

Screenshots of what manual says:
good reading1.JPG

and in practice...
good reading2.JPG


You can also create a primary event sheet and use includes which include eventsheets. THis is nice to do, for example
good reading.JPG


So you can place all your global variables in one event sheet and include them.

But answer your question click layout properties drop down menu will list event sheets to associate with layout.
You do not have the required permissions to view the files attached to this post.
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,718

Post » Thu Apr 24, 2014 9:55 am

@Dutoit

I though you were taking a well-deserved rest, man!?!

Just can't stop yourself, huh :)
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,415
Reputation: 59,516

Post » Thu Apr 24, 2014 11:38 am

zenox98 wrote:@Dutoit

I though you were taking a well-deserved rest, man!?!

Just can't stop yourself, huh :)


Lol, its habit, but I will be cutting back a lot... :roll:
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,718

Post » Fri Apr 25, 2014 11:35 am

Thank you very much, that did the trick. ^_^
B
19
S
7
Posts: 161
Reputation: 1,751


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests