I want to save a high score in my game. I saw that you need to use json library but I dont know how to use it. i want
to save a table and not just a written text. Ther is an easy way of doing that?
I want to save a high score in my game. I saw that you need to use json library but I dont know how to use it. i want
to save a table and not just a written text. Ther is an easy way of doing that?
You don’t have to use json. Personally, I like this little library: http://code.coronalabs.com/code/preference-library-save-data-files-tables-numbers-strings-and-boolean
I have found Ego! http://techority.com/2011/12/28/ego-easy-saving-and-loading-in-your-corona-apps/
it works very good! but I am concern. i am not Savvy at thise things. someone can the me if it is Reliable?
You might find this tutorial helpful:
https://coronalabs.com/blog/2014/10/14/tutorial-saving-and-loading-lua-tables-with-json/
Rob
you can please tell me abut Ego…
Ego is not a Corona SDK product so we can’t really help you with it since we don’t know about it. You can either ask it’s author for help or wait for a community member who knows about it respond.
Rob
I wanted to check this “Ego” thing out, but decided not to, because you have to “like” the library to download it. Maybe I’m just a grumpy old man, but it seems unfair to ask me to recommend a product before I’ve even seen it.
Anyway, from the comments I can tell that “Ego” doesn’t save Lua tables, which (in my opinion) makes it less useful than Preference – but in the end it’s your choice, of course.
You don’t have to use json. Personally, I like this little library: http://code.coronalabs.com/code/preference-library-save-data-files-tables-numbers-strings-and-boolean
I have found Ego! http://techority.com/2011/12/28/ego-easy-saving-and-loading-in-your-corona-apps/
it works very good! but I am concern. i am not Savvy at thise things. someone can the me if it is Reliable?
You might find this tutorial helpful:
https://coronalabs.com/blog/2014/10/14/tutorial-saving-and-loading-lua-tables-with-json/
Rob
you can please tell me abut Ego…
Ego is not a Corona SDK product so we can’t really help you with it since we don’t know about it. You can either ask it’s author for help or wait for a community member who knows about it respond.
Rob
I wanted to check this “Ego” thing out, but decided not to, because you have to “like” the library to download it. Maybe I’m just a grumpy old man, but it seems unfair to ask me to recommend a product before I’ve even seen it.
Anyway, from the comments I can tell that “Ego” doesn’t save Lua tables, which (in my opinion) makes it less useful than Preference – but in the end it’s your choice, of course.