Hi people, i need some help with the size of my project after i export it to Desktop using NW.js.
I've made a simple game, no sounds and only a few sprites in ".png" mode, all under 20kb.
My ".capx" file is 204kb size, but after i export it using NW.js the size of the versions (windows, linux, mac) all go up to 100MB+
Any thoughts on what is going on?
Develop games in your browser. Powerful, performant & highly capable.
NW.js is a so called "wrapper".
It "wraps" a GUI around your project to make it run natively under an operating system.
When exporting to NW.js, the actual project (e.g. Sprites, events, etc.) don't make the most part of the size.
The biggest part is the Chromium part.
NW.js uses Chromium, which is basically the Google Chrome browser in small.
So when you run an NW.js export, it basically starts a minimal version of the Chrome Browser and opens your project in the browser.
Chromium is what makes up most of the size.