Problem Description
I noticed that with Full Screen Off, some of my HUD objects were being displayed incorrectly. Run the capx and you'll see that with Letterbox Scale selected the layout is displayed as shown in the editor window but with Full Screen In Browser set to Off, the objects are positioned incorrectly in Chrome. Also, there is a misalignment of the mouse-over object check associated with this bug.
Edit - this problem is not apparent when previewing over LAN, but it is when using Localhost...
Attach a Capx
[attachment=2:1k3e9309][/attachment:1k3e9309]
Description of Capx
The capx shows four squares that simulate HUD objects and are positioned near to the corners of the layout. With Full Screen In Browser set to Letterbox Scale, the layout is displayed correctly; with Full Screen In Browser set to Off then the HUD objects appear inset / further away from the borders than they should do (in Chrome only). This also affects the mouse over event check, whereby in Chrome the mouse-over check doesn't work correctly with all objects.
[attachment=1:1k3e9309][/attachment:1k3e9309]
[attachment=0:1k3e9309][/attachment:1k3e9309]
Steps to Reproduce Bug
- Select Full Screen In Browser to Letterbox Scale to see where the objects should be displayed, try mouse over
- Select Full Screen In Browser to Off (in Chrome) to see them incorrectly positioned, try mouse over and observe the mouse over does not correlate with the sprite position
Observed Result
With Full Screen In Browser set to Off, the objects appear in the wrong place relative to the edge of the layout when run in Chrome, the mouse-over check seems to be affected by some sort of parallax error as well.
Expected Result
All browsers should be the same and as per the editor display.
Affected Browsers
- Chrome: (YES)
- FireFox: (NO)
- Internet Explorer: (NO)
Operating System and Service Pack
W8.1 x64
Construct 2 Version ID
r178 x64