Event Groups vs "Is Group Active"

Get help using Construct 2

Post » Wed Feb 26, 2014 8:54 pm

Basically I'm working on duplicating an event sheet with a number of critical changes to adapt for a different platform (mobile), So I'm going to want a lot of the same event groups on the sheet for each.

So here's my question;

Is this:
Groups1.png


Different then this:
Groups2.png


In any way?
Can I just do that to work around not being allowed to have groups of events named the same thing on different sheets?
You do not have the required permissions to view the files attached to this post.
B
11
S
3
G
1
Posts: 98
Reputation: 1,062

Post » Wed Feb 26, 2014 9:23 pm

I'm not sure I understand what you are asking for.

Groups are groups. "System| Group "xxx" is active" is a condition to check if Group named "xxx" is active or not.
If you don't have a Group called "xxx" then "System| Group "xxx" is active" will not even let you make this condition.

Edit: And why do you want "a lot of the same event groups on the sheet for each" that have no sense.
ImageImageImageImage
B
157
S
66
G
42
Posts: 2,603
Reputation: 35,343

Post » Wed Feb 26, 2014 9:59 pm

I'm asking if those 2 sets of events will run differently during run-time.

It is assumed that the groups have all been created somewhere -> on a different event sheet.

I'm going to want a lot of the same event groups on my Computer and Mobile event sheets because both event sheets are using the same event structure, and just modifying critical information. Therefore both sheets will need a "Deal Answers" group etc.
B
11
S
3
G
1
Posts: 98
Reputation: 1,062

Post » Wed Feb 26, 2014 10:11 pm

It will run the same in the logic, meaning the game will behave the same.

CPU speaking, the later way is a little more intensive, making as many comparison as there are groups active. Plus, you would still need to have groups called like this somewhere, even if they are empty, just to activate and deactivate them. So don't go with this.

The second way is usually to be used when a group behaves differently if another group is active.
B
17
S
8
G
4
Posts: 473
Reputation: 6,191

Post » Wed Feb 26, 2014 10:15 pm

Thanks for the reply, I'll keep this in mind.

I don't expect slowdown in the game, even on mobile, but it is always good to keep performance in mind when coding.
B
11
S
3
G
1
Posts: 98
Reputation: 1,062


Return to How do I....?

Who is online

Users browsing this forum: KTML5 and 30 guests