How do I reduce my game's size?

  • Hi there!

    I was wondering why my game is so big. I did not use even 50 sprite pixels ranging from <1 to 10 Kb, I have not added sound effects yet and I have 205 events. I do not understand where I am wrong, I will use this game on Android and the APK is 18.12 Mb but once installed is more than 60 Mb!

    Please help me!

    Thank for your time!

  • I think using crosswalk is like wrapping chrome around your game and including it in that apk. And apk are basically like zips (compressed files) so once installed, it'll become larger when uncompressed and installed.

    18mb for a apk with crosswalk is the smallest i've come across

  • I think using crosswalk is like wrapping chrome around your game and including it in that apk. And apk are basically like zips (compressed files) so once installed, it'll become larger when uncompressed and installed.

    18mb for a apk with crosswalk is the smallest i've come across

    As I know the APK size is about 15 or 16 MB if you build an empty project.

  • Thanks for the answers!

    My question was related to the size of the app once installed, there is a way to decrease slightly the size? My app, comparing the size with other applications, greatly exceeds 3D games or games much more complex than mine.

  • Thanks for the answers!

    My question was related to the size of the app once installed, there is a way to decrease slightly the size? My app, comparing the size with other applications, greatly exceeds 3D games or games much more complex than mine.

    I'm having the same problem, APK size of my app Square Eater (http://bit.ly/1wKDiNT) is ~18 MB but once installed the app size is ~45 MB and ~21 MB of data => ~65 MB is the whole app size! <img src="{SMILIES_PATH}/icon_e_confused.gif" alt=":?" title="Confused">

  • I think there's not much to do :/

  • But why do apps have to download the whole Chrome every time? Wouldn't be once enough?

  • What do you mean by "every time"?

  • The only best solution is to make obb extensions on the crosswalk. So you can put your image to external apk file. you can ask imaffett when the exact date for the release and how to do it

    > Clickteam is great software for mobile, the price is cheap, output apk very small and there's built-in transition between scene.

    >

    > Personally, i can live with the wrapper that build with crosswalk even i'm never published any games yet. The only wish for me is capabilities to make apk extension or obb. Once it can be done i'll stick with construct 2 as long as i can.

    >

    Not an april fools joke - we're working on that and hope to have it available soon (obb extensions)

  • :(

    But why do apps have to download the whole Chrome every time? Wouldn't be once enough?

    It needs to create the environment to run the game, it isn't designed to use it externally. And crosswalk provides something to do with the rendering C2 requires i think.

    Was developing a native camera app last night with Phonegap + Intel XDK for Android without Crosswalk and the apk is under 400kb

  • What do you mean by "every time"?

    With every crosswalk game. It would be better if only for one game that browser is downloaded and then works with all crosswalk apps, no need to be packed in every app...

    Was developing a native camera app last night with Phonegap + Intel XDK for Android without Crosswalk and the apk is under 400kb

    Without crosswalk the performance is too bad for a game. Camera app could be OK, but it's not good for games (not enough fps, slow etc.) as I know.

  • nikosurfing - Sorry- the Cordova plugin is waiting to be made public, but there is not a C2 plugin yet. It takes a few months at Intel to get legal approval for open source code

  • > What do you mean by "every time"?

    >

    With every crosswalk game. It would be better if only for one game that browser is downloaded and then works with all crosswalk apps, no need to be packed in every app...

    My personal opinion is I disagree with this 100%. Think of "flash". Users will have to update the version in the store every time a new one comes out. But what happens when there is a breaking version (like CW7 to CW10) - your app will start performing worse without you ever knowing it.

    The Crosswalk team has stated public they will be doing a shared mode, but think of your own apps issues that can happen. If they distribute specific versions (CW11/CW12/CW13) and you can lock down to that, then

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • >

    > > What do you mean by "every time"?

    > >

    > With every crosswalk game. It would be better if only for one game that browser is downloaded and then works with all crosswalk apps, no need to be packed in every app...

    >

    My personal opinion is I disagree with this 100%. Think of "flash". Users will have to update the version in the store every time a new one comes out. But what happens when there is a breaking version (like CW7 to CW10) - your app will start performing worse without you ever knowing it.

    The Crosswalk team has stated public they will be doing a shared mode, but think of your own apps issues that can happen. If they distribute specific versions (CW11/CW12/CW13) and you can lock down to that, then

    You're probably right.

    Is in crosswalk app packed the whole browser or just the "ingredients" the app needs?

  • It's a version of the Chromium browser.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)