NW.js and Optimization: what is happening?

Get help using Construct 2

Post » Mon Aug 29, 2016 7:08 pm

Hello everybody,

I have a project that weights 6 mb, everything included: animations, event sheets, files, layouts, textures, .caproj, etc. My musics and sounds are .ogg only and don't weight much, all my textures are very very small, etc.

When I export it to NW.js, using recommended export spec for PNGs and minifying the script, my exports (win32,win64, linux and osx) weight between 130 and 160mb.

What happened here? Is that normal? What can I do?

Thanks.

PS: my html5 export weights 5,75mb.
B
6
S
2
G
1
Posts: 39
Reputation: 605

Post » Mon Aug 29, 2016 7:23 pm

Flodcp wrote:Hello everybody,

I have a project that weights 6 mb, everything included: animations, event sheets, files, layouts, textures, .caproj, etc. My musics and sounds are .ogg only and don't weight much, all my textures are very very small, etc.

When I export it to NW.js, using recommended export spec for PNGs and minifying the script, my exports (win32,win64, linux and osx) weight between 130 and 160mb.

What happened here? Is that normal? What can I do?

Thanks.

PS: my html5 export weights 5,75mb.


That is normal. When you export with NW.js it also includes the whole browser which makes the file so big. When you export a regular html5 build the browser is not included and that is why you have to upload it and play it in a browser.
B
58
S
25
G
14
Posts: 793
Reputation: 13,302

Post » Mon Aug 29, 2016 7:30 pm

Oh okay, I thought there was a problem somewhere. I'm a bit surprised. Thanks!
B
6
S
2
G
1
Posts: 39
Reputation: 605


Return to How do I....?

Who is online

Users browsing this forum: gameba and 12 guests