Problem Description
Objects on a layer with (0,0) parallax get displaced from their positions set in the layout editor when the fullscreen mode is set to "Crop".
Attach a Capx
Capx not required, please open the Top-down shooter template.
Description of Capx
In the top-down shooter template, there is a (0,0) parallax layer with a text object on it placed in the top-left corner.
Steps to Reproduce Bug
- Open the Top-down shooter template.
- Set the fullscreen mode to "Crop".
- Run a preview of the layout.
Observed Result
The text object appears displaced and doesn't remain in its top-left position set in the layout. Playing with the size of the browser window you can observe that the displacement changes. It is in its correct position when the window does match the window size setting in the project properties.
If you observe the viewport values in the debugger, you will see that the non-scrolling layer gets negative values for the left and top viewports for every bit that the window is bigger than the window size set in the project properties.
Expected Result
The text object on the (0,0) parallax layer should remain in the correct position at all times.
Affected Browsers
- Chrome: Yes
- FireFox: Yes
- Internet Explorer: Yes
Operating System and Service Pack
Win 7 Home Premium 64bit SP1
Construct 2 Version ID
r190