Including game network : 7MB and 7 seconds of load time!

Yesterday, we decided to pull Open Feint support from our game. We’ve been struggling to keep ourselves under the magic 20MB limit, and our load times have become 10 seconds or longer on older devices (especially Android!)

We were looking for big solutions, and it turns out that, for us at least, disabling game network reduces our app size by 7MB, and cuts 7 seconds off our average load time.

(!)

Here are some numbers:

Total size of all textures used in our app: 9.3MB
Total size of all music / sound used in our app: 3.4MB
Total size of .lua files and data: 400k (Particle Candy is a huge chunk of this!)

Total: 13.1 MB
Actual size of our app when built through Corona: 25.4 MB

(!)

Now I realized that Corona needs some overhead - but that really seems like an excessive amount of overhead in a community which lives and dies by the 20MB limit. We’re seeing Corona add more than 12MB.

We’re using a few modules in our game : json, flurry analytics, particle candy, and game network (for Open Feint). We tried pulling these out one at a time. The first two had no visible impact on our bundled size or load times, but the last one cut our file size down to just over 18MB, and cut our load times by 7 seconds. (On Android, the decrease was even more dramatic.)

Is this in line with what other folks are seeing? I half-suspect that this issue became worse in the recent merge of OF support with the generalized game network calls…

[import]uid: 65996 topic_id: 20723 reply_id: 320723[/import]

Your a subscriber. Check the daily build logs. You can disable including game networks you don’t use. [import]uid: 84637 topic_id: 20723 reply_id: 81391[/import]

Open feint brings in that much into the realm of the app. Even if native. This is the side -effect of OpenFeint SDK.

c
[import]uid: 24 topic_id: 20723 reply_id: 81394[/import]

I use daily build 706, and the last time I checked, my game app increases in size by 6.5MB with gameNetwork. On this thread, @mygamingproject tested the size increase using daily build 704 (8.2MB increase) vs 715 (4.4MB increase). (I thought you might find it good-to-know.)
Naomi

[import]uid: 67217 topic_id: 20723 reply_id: 81403[/import]

Has anyone tried Game Center without OpenFeint? How much app size does it increase?

I plan to drop off OpenFeint to exchange for more app contents under 20MB. [import]uid: 12979 topic_id: 20723 reply_id: 81405[/import]