fullscreen scaling off problems

Bugs will be moved here once resolved.

Post » Tue Apr 14, 2015 3:09 pm

Problem Description
Proportions and coordinates are not correct in fullscreen scaling off mode, when the zoom mode of the page at launch is at something different than 100%

Attach a Capx
https://copy.com/LExZ1imGnwNYOCvO

Description of Capx
A simple layout with no fullscreen scaling that will save a screenshot for comparison purposes.

Steps to Reproduce Bug
  • start the layout preview at 100% zoom, see that the layout looks correct / as in Construct 2
  • set the preview page's zoom to something else than 100%, so for example 75%
  • start the layout preview again or reload the page -> proportions / coordinates are wrong

Observed Result
Proportions (sprites to window size) and coordinates are wrong (in relation to for example mouse.x / mouse.y).
Examples:
https://www.youtube.com/watch?v=TrO0wGnZYXo (difference shown between starting at 100% zoom and 90%)

coordinates being messed up:
Image
in this example the blue sprite cube's origin is at the middle of the blue cube. Mouse was at roughly the middle of the white window, mouse.x was at 2 as the text shows. The sprite's x coordinate was set to mouse.x, so the cubes should be centered. Instead they are in the left part of the window.

Expected Result
Window size should probably @size set up in the project multiplied by the zoom factor. Setting a sprite's position to mouse.x and mouse.y will set it's position to where the mouse pointer is when the sprite's origin is at it's middle.

Affected Browsers
  • Chrome: (I will not install this browser, someone else may test it)
  • FireFox: (YES)
  • Internet Explorer: (YES)
  • Opera: (YES)
  • NW.js: (does not have a page zoom functionality I think, so not relevant there)

Operating System and Service Pack
win 7 64bit most recent sp

Construct 2 Version ID
r201 beta
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 787
Reputation: 3,786

Post » Tue Apr 21, 2015 12:23 pm

Your .capx link doesn't seem to be working right now, I just get a blank page. Maybe it's a site outage? Could you try posting to Dropbox or another service as well?
Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,694

Post » Tue Apr 21, 2015 2:33 pm

Sure, the copy service sucks right now, maybe I'll have to switch over to another service <<
http://strategy-investor.de/mgz10/scaling.capx
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 787
Reputation: 3,786

Post » Thu May 14, 2015 10:39 am

I can't reproduce any issue in Chrome, it appears to render correctly. I'm not sure why your .capx invokes a download of a screenshot either, it seems unrelated to the bug report, did you attach the right .capx? It does not use any mouse input and it looks different to your screenshot too.
Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,694

Post » Thu May 14, 2015 11:07 am

It happens in all tested browsers (Firefox, IE, Opera), so very likely in Chrome, too. I won't install Chrome, but the youtube video shows pretty easily how to reproduce the bug (= you only need to know how to set the zoom level of your browser). Delete the screenshotting if it annoys you. I only added it so one could easily measure out the proportions/sizes of the boxes in an image editor.
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 787
Reputation: 3,786

Post » Thu May 14, 2015 11:11 am

Please test with Chrome, it's an essential part of bug reporting to identify browser-specific issues.
Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,694

Post » Thu May 14, 2015 1:07 pm

It's not browser specific, but kind of your decision, if you want to leave the bug in Construct 2.
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 787
Reputation: 3,786

Post » Thu May 14, 2015 1:19 pm

I don't see what that has to do with whether or not you test in Chrome? It is an essential part of making a useful bug report to test across all browsers and report that information to me, so I can do the same and compare my results. It is very common that what I see is different to what you describe, and therefore this is an essential step in communicating the issue and getting to the bottom of the cause. Why don't you want to install Chrome?
Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,694


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests