[142] iid not available at creation

Bugs will be moved here once resolved.

Post » Fri Aug 23, 2013 6:07 pm

Link to .capx file (required!):
https://dl.dropboxusercontent.com/u/666516/r142iidnotavail.capx

Steps to reproduce:
1.Enable wait on event 2
2.Run capx
3.Right click 2x
4.Note no maroon squares are made for the second pink instance.

Observed result:
Second instance is not picked by its iid, unless you enable the wait on event 2

Expected result:
The iid should be available at the top tier creation.

Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: yes

Operating system & service pack:
764
Construct 2 version:
142
    
Image ImageImage
B
172
S
50
G
183
Posts: 8,443
Reputation: 115,605

Post » Sat Aug 24, 2013 3:19 pm

I got your game working. The maroon squares were created on top of the pre-existing ones. Also you were using a global variable for creating the squares, which caused another problem on fast clicking - the variable was changed back to 0 and the program created fewer squares then expected.

Here is the .capx:
http://www.upload.ee/files/3534616/r142iidnotavail.capx.htmltrollface2013-08-24 15:25:46
B
14
S
6
G
4
Posts: 107
Reputation: 4,868

Post » Sat Aug 24, 2013 4:03 pm

@trollface
This post wasn't looking for a work around I did that already in the capx.
This was about the fact that the iid value should be available in the creation event, or tick.

Thanks anyways
Image ImageImage
B
172
S
50
G
183
Posts: 8,443
Reputation: 115,605

Post » Wed Aug 28, 2013 3:53 pm

Should be fixed in r143.
Scirra Founder
B
403
S
238
G
89
Posts: 24,653
Reputation: 196,143


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest