Problem Description
According to the manual, using an object's IID in parenthesis in an expression should specify that particular instance (i.e. Sprite(2).X to refer to the Sprite with IID 2), but these expressions seem to always be accessing the 0th index, regardless of the number specified.
Attach a Capx
https://www.dropbox.com/s/p6fevqb3h2jpz ... nsBug.capx
Description of Capx
This capx begins with one instance of Sprite at (400,400) and creates a second instance at (200,200), then it records each of their x positions using Sprite(0).X and Sprite(1).X into the two labels on screen.
Steps to Reproduce Bug
Observed Result
Both labels describe the Sprite's X value at 400.
Expected Result
The label for the first sprite should read 400, but the label for the second should read 200.
Affected Browsers
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
Windows 7 Service Pack 1
Construct 2 Version ID
Beta Release r167