Guys,
Currently I am designing a game… currently it has only one level… with all the related assets to that level…
I want the ability to add later levels later on after the game has been released as inapp purchases…
each level might have about 100MB assets
This is what I thought I could do,
- Create the game for level 1 without assets only have the logic. So this should be a small download.
- Release it on Itunes/Androoid
- When the game starts it checks to see if the assets have been downloaded, if it hasn’t it will download the assets from a url
- When the new levels are finished. I release an update for the app. Again this is only the logic. No assets. The new levels will appear as Inapp purchases.
- When the game starts it will check to see if any inapp purchases have been bought, if so then download the content for those levels…
Sound ok? Is this the best way to do this? The other option was to bundle the assets with the game. But that means the user has to download the game and each time the game will be bigger and bigger…
Few questions regarding the method I propose…
When I download the file from a server I know I can use the network.download api through corona.
It can only download it to the system.DocumentsDirectory or the system.CachesDirectory. Which is the preferred location?
I am thinking of having one file for each level. Zipped up. How can I unzip? I saw a tar helper. But from reading the comments it looked like it could not handle folders. Is there anything I can use for this? As my file will need to support folders inside the archive
do I need to worry about security
Any pointers would be really appreciated
Thanks
[import]uid: 67619 topic_id: 34600 reply_id: 334600[/import]