Disabling group with include event sheet bug

Bugs will be moved here once resolved.

Post » Sat Jun 08, 2013 10:44 am

Link to .capx file (required!):
http://www.mediafire.com/download/qfqfx1idd0as2s0/pauseKeyInterrupt.capx

Steps to reproduce:
The capx has all the setup you need. Please run the capx. Instruction is also provided in the layout.

Observed result:
You have 2 event sheets. Event sheet 1 has a group "not pause" and it includes Event sheet 2 inside the group. This implies that everything in Event sheet 2 is to be disabled, should the group in event sheet 1 is disabled. The actions in event sheet 2 are disabled along with event sheet 1 when group "not pause" is disabled. However, the keyboard event still receives input. Thus, the action will be still be performed.

Expected result:
The expected result is that, the keyboard interrupt should not fire event to the event sheet 2, as it is include in the group "not pause" in event sheet 1.

Browsers affected:
Chrome: yes
Firefox: Yes

Operating system & service pack:
Win 7 ultimate 64 bits

Construct 2 version:
r132 (64 bit)

Workaround: currently, I simply add another condition: timescale NOT equal to 0, in the keyboard event, to prevent this to happen.
I got a game that you multiply, breath fire with two heads and brawl foes to oblivion with your clones: http://www.newgrounds.com/portal/view/660664 (use Chrome on Windows for best performance)

My sites:
http://twinblazar.deviantart.com
http://twinblazar.newgrounds.com
https://twitter.com/twinblazar
http://www.pixiv.net/member.php?id=15072448
B
30
S
11
G
11
Posts: 411
Reputation: 8,459

Post » Mon Jun 10, 2013 6:32 am

I think the startup events on the included event sheet execute before any events on the sheet it is included in. I never noticed you could move the "include" from the top bar, but I don't know if position matters. (as if it were not in any group)

Maybe if you put a group in the included event sheet as well, and enable/disable both...
B
215
S
57
G
32
Posts: 900
Reputation: 38,789

Post » Mon Jun 10, 2013 2:42 pm

Thanks, should be fixed in the next build.
Scirra Founder
B
378
S
220
G
84
Posts: 23,871
Reputation: 188,157


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests