Saving your game -- a frequently asked question

Forum users post probably every couple of weeks about how to save their data.

There are of course multiple solutions but at the end of the day, you need to be able to open a file, save to it, then later open the file and read it back in.

There are multiple libraries out there that include this functionality as part of their package, but if you want a really simple solution, check out this submission to the community code:

https://github.com/robmiracle/Simple-Table-Load-Save-Functions-for-Corona-SDK

And I also wrote a blog post to along with it…

http://omnigeek.robmiracle.com/2012/02/23/need-to-save-your-game-data-in-corona-sdk-check-out-this-little-bit-of-code/

Enjoy! [import]uid: 19626 topic_id: 22314 reply_id: 322314[/import]

An awesome explanation. I was avoiding JSON things as it didn’t make sense to me and I didn’t have time to read up on it.
Now I could easily use this code to write stuff and save for later reading.

PS: Anything with Jason in the name is a winner for me :wink: [import]uid: 10389 topic_id: 22314 reply_id: 88958[/import]