Corona: Updating Mobile Game Content in Runtime

The Corona Labs Blog

The Corona Labs Blog

The Corona Labs Site has put up a tutorial I wrote on the basics of updating mobile content at run-time:

Updating Mobile Game Content in Runtime

Here is a brief summary:

green_tanks

We take the green tank tile sheet. And use it to place and animation on the screen:

figure1

Next we use ad XML file and the network.download() function in Corona to update the tile sheet to a new version when content has been updated:

<data>
<lastupdate>20130401</lastupdate>
<tilesheet>blue_tanks.png</tilesheet>
</data>

blue_tanks

This updates the tile sheet in the app:

figure2

All of the detail, code, and example files are on the Corona Labs Blog

 

0saves
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.