just built first APK using intel XDK but file size is 17M???

Discussion and feedback on Construct 2

Post » Thu May 08, 2014 5:06 pm

hi guys,

Here's C2 newbie Kevin, just finished first tutorial (shooting monster)
and managed to make APK using intel XDK (to put and see in my galaxy S3)
and it gave me 2 different APK files one for arm and other one for x86.

But, I just got damn lolled at their file size.
ARM APK = 17.4MB
X86 APK = 19.0MB

really???? for this simplest game?
or did I do something wrong?

Please help me in this issue. As far as I know, this app should be less than 2MB seriously lol
B
5
S
1
Posts: 20
Reputation: 433

Post » Thu May 08, 2014 5:25 pm

Wrapper includes all libraries like webcam, audio, webstorage, IndexDB, AJAX, etc. sometimes it can be heavy.
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Thu May 08, 2014 5:51 pm

thanks @Joannesalfa
is there any other way to make APK file not using intel XDK?
it makes file size too big
B
5
S
1
Posts: 20
Reputation: 433

Post » Thu May 08, 2014 6:26 pm

Even though the file size is quite large, it will not pick up a huge amount of extra size when you build upon your app. I have an app with over 400 events, and 600 sprites. My file size is approx 19mb.
B
18
S
6
Posts: 348
Reputation: 2,633

Post » Thu May 08, 2014 6:44 pm

@GEEKEV Wrappers come with HTML5 technologies may be heavy, there no way to exclude one of the libraries, If you want very small size of APK, you should consider programming with Java for Android instead of HTML5 that you can control the libraries.
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Fri May 09, 2014 1:39 am

FYI. I found Unity to have and overhead of apx 7-10mb depending on required features.

Technically you can make a Chrome Wrapper and cut out features. For example if your not using WebSockets you don't need to include them. Same with DOM rendering and other such features. However the only way to cut these features to reduce the size is to manually cut the Chrome features and pack it yourself. None of the automated Chrome Wrappers I notice offer this feature. So I'm sure you can reduce the size, but your technical knowledge is above most C2 demographic knowledge.

Again I must itterate Unity's own engine size almost clicks in at 10MB. So is really 7mb all that big a deal?
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,038

Post » Fri May 09, 2014 2:57 am

@GameThirsty
so later even though I scale up my app the file size will still about the same. thx for info :)

@Joannesalfa
java for android.. sounds very hard lol
I already gave up learning unity and even corona sdk haha

@jayderyu
thanks for pointing that a plain unity project file size is already about 7MB.
So, actually most C2 developers makes games with C2 for web??
They hardly make games for mobile coz of huge file size?
B
5
S
1
Posts: 20
Reputation: 433

Post » Fri May 09, 2014 4:32 am

nope. the last opinion survey showed apx 60% developer for mobile. it's just apx8mb over head than a standard unity pcakage is negligible compared to how easy it is to make games.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,038

Post » Fri May 09, 2014 6:11 am

With phonegap it will stay small in size
B
52
S
9
G
2
Posts: 153
Reputation: 3,503

Post » Fri May 09, 2014 7:05 am

@mrnannings

Thanks for phonegap info :)
but how much will it decrease?
B
5
S
1
Posts: 20
Reputation: 433

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 19 guests