Introducing Ego – a ridiculously simple class for saving and loading information from/to your Corona SDK application.
This was inspired by Jon Beebe’s Games Class – which is a lot more complex and elaborate than Ego – mostly because it is designed to do a bunch of awesome stuff besides saving and loading data.
So, I wrote a little something in a similar style – except it is only for saving and loading.
Ego is not made to save tables – it’s bare bones and basic. You save one value to a text file and load it when needed.
Take a look in the file – it has got a nice example in the comments and explains all you need to know to use Ego. (Which isn’t much!)
Enjoy – any questions or comments feel free to let me know below.
PS - I hope before long to put up two samples using Ego, one for saving the highest score and the other for locking/unlocking levels with ease, so stay tuned for those!Download test