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

0 favourites
  • 3 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • 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

  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)