Problem Description
Toggling the editor properties 'parallax in editor' (for a global layer) between No Yes causes objects to appear to move in the editor window - when the layer parallax is set to 0,0. Consequently, if the sprite is placed in the layout with the setting at 'Yes' then the sprite's position during run time will not be where you expect.
Attach a Capx
[attachment=0:37gd7tb0][/attachment:37gd7tb0]
Description of Capx
There is one sprite on a global layer - the layer "HUD" in Layout 1 - that has its parallax set to "0,0". With the layer selected, if you toggle the Editor Properties "parallax in editor" from No to Yes you will observe the sprite appear to move.
Steps to Reproduce Bug
- Select the global layer "HUD" in Layout 1
- Toggle "parallax in editor" from No to Yes and observe
- Position the sprite with setting at Yes and then run the layout and observe the sprite position
Observed Result
The sprite appears to move when the setting is toggled between No and Yes. If the sprite is positioned with the setting at Yes then it will appear in the wrong place when running in a browser.
Expected Result
With 0,0 parallax, I would expect there to be no discernible difference in the sprite's apparent position no matter what parallax setting is selected. I tried this in r178 and there was no movement of the sprite when conducting this test.
Affected Browsers
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
W8.1 x64
Construct 2 Version ID
r183 x64