For this window to disappear you will only need to include a value in the name object in the
package.json file, which for some reason is empty. I noticed this difference compared to projects generated by
RMMZ, because this will be the name of the cache folder for
Game.exe:
JSON:
{
"name": "nw-game",
"main": "www/index.html",
"js-flags": "--expose-gc",
"window": {
"title": "",
"toolbar": false,
"width": 816,
"height": 624,
"icon": "www/icon/icon.png"
}
}
I downloaded version 0.84.0 but an error window appears:
Code:
Game.exe - Entry Point Not Found
The procedure entry point DiscardVirtualMemory could not located in the dynamic link library C:\Users\<USER>\Documents\Output\Project3\nw.dll
It is very likely that this error happens because I use Windows 8.1, I imagine this error does not happen on Win10 or 11.
So I tried something else:
So I deployed an empty RMMZ project to Windows, copied the corresponding files to the game folder and noticed a certain improvement in performance.
When updating, it is necessary to define the "position" subfield in Window:
JSON:
{
"name": "nw-game",
"main": "www/index.html",
"js-flags": "--expose-gc",
"window": {
"title": "",
"toolbar": false,
"width": 816,
"height": 624,
"position":"center"
"icon": "www/icon/icon.png"
}
}