NWjs Window Size doesn't match Canvas Size

0 favourites
  • 4 posts
From the Asset Store
Pixel Destruction like in "Worms" (Drawing Canvas based)
  • Problem Description

    NWjs Window is 16*8px larger than Canvas whan in package.json "resizeable": true and 24*18px larger when "resizeable": false

    EDIT:

    This happens in preview and export (win32 and win64)

    EDIT2:

    Btw. this is not the case, when in "No Frame" Mode ...

    Attach a Capx

    NWjs_WindowSize_Offset.capx

    Description of Capx

    Simple Project with NWjs, Browser and Text Object to demonstrate Expression Outputs and possible Bug with NWjs

    Steps to Reproduce Bug

    • Start the .capx File
    • Read Expression Outputs
    • See black space between Canvas and Window

    Observed Result

    NWjs Window is bigger as Canvas

    Expected Result

    NWjs Window should have the same size as the Canvas

    Affected Browsers

    • NWjs

    Operating System and Service Pack

    Windows 10 x64 - Version 1511

    Construct 2 Version ID

    Personal License - Release 229

    NWJS for Construct 2 Version

    v0.15.0

  • Have you tried it with the export?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sry, forget to mention: This happens in preview and export (win32 and win64)

    EDIT2:

    Btw. this is not the case, when in "No Frame" Mode ...

  • So after fiddling with some NW.js versions, I discovered, that this is not a Construct2 bug. It's a NW.js bug, present up to version 0.15.2. It is fixed since version 0.16.0-beta1 ... so this can be closed.

    Sorry for bothering and thanks

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