Big export size

Discussion and feedback on Construct 2

Post » Sat Jul 15, 2017 3:29 pm

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+ :o

Any thoughts on what is going on?
B
2
Posts: 2
Reputation: 154

Post » Sat Jul 15, 2017 9:23 pm

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.

tl;dr
Chromium is what makes up most of the size.
"We can't solve problems by using the same kind of thinking we used when we created them."
- Albert Einstein
B
27
S
11
G
8
Posts: 528
Reputation: 7,091


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 17 guests