When setting a specific sets (or just one) of screen resolution for NWjs, it will display a black screen instead of displaying what it's suppose to display.
When setting the following (or similar):
NWjs | Set window width to 500
NWjs | Set window height to 500
NWjs | Set window maximum size to 500 x 500
NWjs | Set window minimum size to 500 x 500
NWjs | Set window not resizable
NWjs | Set window title to "TEST"
It will show this following pop-out only in debug mode:
Uncaught TypeError: Cannot read property 'Window' of undefined http://localhost:50000/NodeWebkit_plugin.js , line 376 (col 6)
This may be a bug in Construct 2 or a third party plugin or behavior - please report it to the developer following the bug report guidelines. Subsequent errors will be logged to the console.
Description of Capx
This is a test of the problem, when you launch it, and if it display a black screen then this is the error itself.
If it displays a text on the screen saying "If you see this..." then you have no errors.
To get the exact details of the problem (the error pop-out), run it on debug mode.
- Chrome: No
- Internet Explorer: No
- NW.js: Yes
Windows 10 Home
Construct 2 Version ID
Release 221 (64-bit)