Google Play Store and game >50mb

Discussion and feedback on Construct 2

Post » Sun Feb 02, 2014 10:57 am

Hi,

I've a "little" problem with my game, it's 100% completed but the apk is way bigger than 50mb limit of Google Play Store. I've read about the APK Expansion Files on Google Guide, but I've no idea on HOW use this stuff.
Searchin the web I read about how to create these kind of files (a simple .zip file renamed in "main.XXX.GAMENAME.obb") but CocoonJS and i think also Construct 2, give me a single file >50mb.

Is there any solution to this? Anyone had the same problem? Please help :(
B
12
S
2
Posts: 36
Reputation: 1,949

Post » Sun Feb 02, 2014 11:27 am

I believe its only possible if you go native coding and implement Android SDK.

If its possible with Construct 2/CocoonJS, that would be awesome news to me.

Edit: As a suggestion, its not recommended to have a bigger game anyway, anything beyond 40mb is really bad with CocoonJS (loads everything into ram at start!! your 40mb game will use about 400mb!), and Crosswalk adds 20mb of overhead. I had to compromise on my game, less scenery, enemies, music.Silverforce2014-02-02 11:32:58
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Sun Feb 02, 2014 11:57 am

thanks for the answer, but the game without any assets (graphic and music) is about 8mb. so i need to learn how to use this apk expansion files :(

Edit: is there any tutorial to use android sdk and apk expansion files?
i want to say: a step to step guide to open your project in android sdk and what to edit/coding to use these kind of files? now i've this game 100% completed and no way to publish it :(
PePPo2014-02-02 12:00:53
B
12
S
2
Posts: 36
Reputation: 1,949

Post » Sun Feb 02, 2014 12:20 pm

I knew about the 50MB APK limit at the start, but I was hoping CocoonJS fixes its memory management by the time I finish my game... but they didn't so i had to go back and remove a lot of assets.

Music files tend to use a lot of space, but if you publish for Android only, when you export from C2, unpack the zip, delete all the .MP4 sounds and keep the .OGG only, then zip it, and run it through CocoonJS, it works fine without the MP4 and should save u a lot of space on the APK.

As for tutorial, with C2 not that I know of. But the point is do not exceed 40MB on your C2 export, because you will need 10X the ram on loading the app with CocoonJS. Most phones are still less than 1GB ram which will not run it due to high ram usage.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Sun Feb 02, 2014 6:23 pm

@PePPo
Ok, I have the same problem almost. My game isn't done, but the assets are kicking over the 50mb point and when the game is dnoe will likely hit 100.

I can't give you a %100 how too, however I did bring this point up with Ashley and he did make a suggestion. Just know that I cannot validate any of this.


0. Your game even when exported through android needs to run off a server
(this is the part i'm not %100 about, get Ashley to clarify)
1. Export your for what ever android style you want.
2. strip the assets out
3. put your assets onto the server that hosts the game.
4. Let players know that there are assets to download
5. The game should download the assets from the host only once(unless there is an update)

There is suppose to be a way to handle large games. But here is my suggestion. emai Scirra/Ashley directory and get his help. Since it seems no one else has done this yet, no one has gotten the clarification to do this.

Personally I would rather have extenion APK so that I can make expansions.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,028

Post » Sun Feb 02, 2014 10:14 pm

@PePPo, since nobody has mentioned it yet, you can try changing all your C2 graphics to 8-bit PNGs rather than the default 32-bit. Hopefully, this will allow you to publish now and give you more time to figure out how to get the assets from a server, from within the app.
B
20
S
4
G
1
Posts: 185
Reputation: 2,563

Post » Mon Feb 03, 2014 9:43 am

Thanks @danialgoodwin and @jayderyu for the reply. One last question: is there a way to set up this using Construct2? I want to say, can i tell c2 what file download from a server? or i need another sdk/tool/language?
B
12
S
2
Posts: 36
Reputation: 1,949

Post » Mon Feb 03, 2014 10:08 am

in the games I created, audio seem to be ones taking majority of the game file size with graphics only 1/4 to 1/5 of audio space.

You can check by exporting to html5 and compare the size of audio and graphic folders.

My suggestion would be to comprised on audio quality and try lowering the bitrate down via Audacity so the file size would be smaller.

Another suggestion is instead of using another soundtrack for another stage, try playing with the construct equalizer for a different sounding song while still using the same file.
B
36
S
18
G
11
Posts: 248
Reputation: 8,694

Post » Mon Feb 03, 2014 10:35 am

Thanks @Sethmaster but i want to resolve the problem once and for all. I don't want to be in the same situation next time i'm going to develop a bigger game with lots of assets.

@Ashley : do you have a programmed update about this 50mb limit? maybe an option to export in 2 files? (main and assets)
you know if Ludei will support this feature?
Or do you have advices to request external file from a server? possibly in a simple way, because i'm not a coder :\
B
12
S
2
Posts: 36
Reputation: 1,949

Post » Mon Feb 03, 2014 10:42 am

Do not wait for Ludei to fix your issues, its a long wait for even the most basic of problems.. their blinking logo causing epileptic fits is still present after so long.

Google has been hinting at expanding the APK limit to 250mb for awhile, hopefully they move on that soon. Until then, go native with Android SDK for your games with coders who can do that, or stick with Construct 2 + CocoonJS and compromise to make a smaller game.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 12 guests