Letter box integer scaling - Universal Windows 8.1+ (Phone)

Bugs will be moved here once resolved.

Post » Thu Jun 12, 2014 5:18 pm

Problem Description
There seem to be a weird behavior of the scaling while using "letterbox integer scale" when you export to Universal Windows 8.1 App, and run it on a phone. I tested both on an actual device and phone emulators.

Attach a Capx
https://dl.dropboxusercontent.com/u/7004246/rpg.capx

Description of Capx
The attached capx as a window size of 640x360. Which is supposed to "integer scale" up to 1280x720 on both 720p and WXGA devices, and to 1920x1080 on 1080p devices. However, as you launch the app on said device, you'll notice the window size isn't scaling correctly at all. There's is a "debug" text object that get its text set to the current window size. What is weird is the fact that the canvas is definitely scaling, but absolutely not by an integer ratio.

Steps to Reproduce Bug
  • Open .capx
  • Export to Universal Windows 8.1+
  • Run on a 720p, WXGA or 1080p device/emulator

Observed Result
The window size is not a multiple of 640x360.

Expected Result
A window size of 640x360, 1280x720, 1920x1080, etc., depending on the device used.

Affected Browsers
  • Browsers unaffected, everything works as intended.
  • Problem in a wrapped WP8.1 app.

Operating System and Service Pack
Windows 8.1 FR

Construct 2 Version ID
Beta release 172
B
69
S
28
G
24
Posts: 977
Reputation: 18,739

Post » Mon Jun 16, 2014 3:37 pm

Closing: uses a third party plugin (MoveTo), please follow the bug report guidelines and remove any third party plugins from bug reports. Also please note letterbox integer scale may be working correctly taking in to account any of the screen space occupied by the system UI. For example if there is a 20px system bar at the top then the viewport will be less than 1280x720 and therefore not an option for integer scaling.
Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,684

Post » Mon Jun 16, 2014 6:19 pm

Ok, once I get back from work I'll make a new bug report with a capx more suited for this. In the meantime, anyone knows if HTML5 apps under Windows Phone have any kind of system bar ? There doesn't seem to be any.
B
69
S
28
G
24
Posts: 977
Reputation: 18,739


Return to Closed bugs

Who is online

Users browsing this forum: Anonnymitet and 3 guests