Problem Description
Update: To be confirmed; please test independently. Running this test in nw.js v0.14.0 and this bug was no longer apparent. May not be a c2 bug.
When nw.js initialises its size dimensions are set to the game's window size, which causes the internal canvas resolution to be smaller than that desired for the game.
Attach a Capx
capx link
Description of Capx
Simple layout with a text object to display the nw.js window size and the rendered on-screen canvas size.
Steps to Reproduce Bug
Observed Result
The nw.js window initializes to the c2 window sizes, which does not account for the size of the nw.js window frame dimensions. Thus the rendered canvas size is less than that desired for the game. It is complicated and hackey to then resize the nw.js frame to achieve the desired canvas dimensions.
Expected Result
The nw.js window should initialise by default so that the displayed canvas is the same size/resolution as the game's desired window size.
Affected Browsers
Operating System and Service Pack
W10 x64
Construct 2 Version ID
r225 running nwjs for c2 v13 rc4