Downloading additional game content in-game?

I admittedly haven’t scoured the forum and docs just yet, but just wanted to ask if this is possible for the time being…

Can Corona accomodate the downloading of additional game elements?  There’s a lot of assets in the project I’m working on, so to save file space it would be preferable if some things were downloaded through the game once a certain level was reached rather than the entire game have to be installed at once.

I’ve seen this with plenty of iOS apps like casino games, book ‘libraries’, etc - but as everything gets compliled first with Corona, wasn’t sure if this was an option?

Thanks for any replies!

Yes, you could store a .zip archive of assets on a remote server somewhere and use the Coronalabs zip plugin to uncompress them to your project’s sandbox Documents directory. But you’ll need the ‘pro’ version of Corona to use the zip plugin.

http://docs.coronalabs.com/daily/plugin/zip/index.html

Yes, you could store a .zip archive of assets on a remote server somewhere and use the Coronalabs zip plugin to uncompress them to your project’s sandbox Documents directory. But you’ll need the ‘pro’ version of Corona to use the zip plugin.

http://docs.coronalabs.com/daily/plugin/zip/index.html

Really need to give this a try :slight_smile:

Really need to save for a pro account

Hi @aaron.rackley9,

Downloading additional content doesn’t necessarily require the Zip plugin. If you need to download reasonably small assets at various times during the game, it can easily be done via the Corona network functions. The following tutorial shows how all of this can be done:

http://coronalabs.com/blog/2013/03/19/updating-mobile-game-content-in-runtime-guest-post/

Take care,

Brent

No problems - it’s actually pretty easy. I’m doing this myself in a peculiar way: my level editor runs in the corona simulator, and uploads level data to an ftp site, and my iPad downloads this level data from this ftp site to test my level designs.

Really need to give this a try :slight_smile:

Really need to save for a pro account

Hi @aaron.rackley9,

Downloading additional content doesn’t necessarily require the Zip plugin. If you need to download reasonably small assets at various times during the game, it can easily be done via the Corona network functions. The following tutorial shows how all of this can be done:

http://coronalabs.com/blog/2013/03/19/updating-mobile-game-content-in-runtime-guest-post/

Take care,

Brent

No problems - it’s actually pretty easy. I’m doing this myself in a peculiar way: my level editor runs in the corona simulator, and uploads level data to an ftp site, and my iPad downloads this level data from this ftp site to test my level designs.