Project with almost nothing inside has 40 mb after export!

Discussion and feedback on Construct 2

Post » Mon Jul 07, 2014 9:18 pm

WTF!? Controler Key Codes is a whole project. There is almost nothing in there. You can see in the image. Yet after exporting it is 40mb!! Why?!
You do not have the required permissions to view the files attached to this post.
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
91
S
30
G
22
Posts: 1,985
Reputation: 20,149

Post » Mon Jul 07, 2014 9:32 pm

If you exported with Node-Webkit that is easy to explain:
Node-Webkit is basically the whole Webkit engine + Node.JS in modified form.
Therefor, it also almost has the same size as Webkit + Node.JS.
So short explanation: it isn't your app/game that is 40mb, but it is the .EXE from node-webkit (+DLL's) that are/is that big. :)
If you talk about another export option im sorry.
- Conti
"It's done when it's done"

Shadows of War
Buy on Steam ;)
B
24
S
10
G
7
Posts: 253
Reputation: 4,931

Post » Mon Jul 07, 2014 9:38 pm

Yeah, that's node webkit. thanks for info!
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
91
S
30
G
22
Posts: 1,985
Reputation: 20,149

Post » Tue Jul 08, 2014 12:30 pm

too much overhead in mb that's the curse of html5
B
43
S
11
G
4
Posts: 428
Reputation: 7,459

Post » Tue Jul 08, 2014 1:52 pm

@bjadams that may be true, if you want an export for windows
without as much overhead/functionalities or good performance you are alway free to try to use alternatives like this one:
https://code.google.com/p/phpdesktop/
I wouldn't say it's a curse, of course, the SDL for example is really minimal in it's size compared to NW,
but the more functionalities/freedom with the easiest difficulty you want, you have to pay the price in it' size.
Not everything can be perfect, but in general, it's still a long way to go for HTML5,
you can expect some awesome things i think in the coming years looking at the speed of development of new things for it now and then.
Especially considerating the big companies are beginning to use it more and more.
- Conti
"It's done when it's done"

Shadows of War
Buy on Steam ;)
B
24
S
10
G
7
Posts: 253
Reputation: 4,931

Post » Tue Jul 08, 2014 4:18 pm

All i see for the coming years is the move away from desktop to phones and tablets. Node-Webkit is a pretty poor excuse for a proper executable on the PC. Its a real shame but i dont see anyone having much inclination to provide other, better options.

As for a 40mb file on a PC. So what. Doesnt affect the PC at all.
B
50
S
16
G
9
Posts: 1,098
Reputation: 11,237

Post » Tue Jul 08, 2014 5:36 pm

spongehammer wrote:All i see for the coming years is the move away from desktop to phones and tablets. Node-Webkit is a pretty poor excuse for a proper executable on the PC. Its a real shame but i dont see anyone having much inclination to provide other, better options.

As for a 40mb file on a PC. So what. Doesnt affect the PC at all.


40mb not a big deal, but was surprised, and also it was going to be sent to someone.
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
91
S
30
G
22
Posts: 1,985
Reputation: 20,149

Post » Wed Jul 09, 2014 2:28 am

C2 uses a whole blown version of NodeWebkit. It is possible to do custom builds that only use features you need. But C2 doesn't do custom compile for NodeWebkit. Instead C2 just uses it as an EXE pacakge and all the resources are in zip file/folder.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,038

Post » Wed Jul 09, 2014 11:45 am

If you don't want the overhead of node-webkit, remember you can always publish to the web and the user can play it with whichever browser they happen to have installed already.
Scirra Founder
B
399
S
236
G
89
Posts: 24,530
Reputation: 195,402

Post » Wed Jul 09, 2014 11:50 am

@Ashley
i hope Scirra have own application for exporting to .exe ,did you know Game Maker ? they have all of they want,android,ios,windows 8 and other,but its hard to make a game using that application.
that's why,i'm waiting with C2 exporting to .exe with smaller file size
~Everyone can make GAMEs~
B
57
S
12
G
1
Posts: 414
Reputation: 5,936

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests