I’m pretty new to game development and brand new to Corona. I was wondering if using a flat file for saving a small amount of game data (progress, high scores, and a max of 5 user profiles) is the way to go or if using sqllite would be better? My inclination is that sqllite would be more fitted for larger amounts of data, but it also seems like it would be much easier to than using IO. [import]uid: 10519 topic_id: 3075 reply_id: 303075[/import]
I am using flat files with JSON and imho it can’t be easier than that. [import]uid: 5712 topic_id: 3075 reply_id: 9012[/import]
That look like a pretty good method. I will definitely look into it. Does anyone have any reason why using sql would not be a good choice in terms of performance? [import]uid: 10519 topic_id: 3075 reply_id: 9049[/import]
Mike, do you have any examples of implementing something like this? [import]uid: 7863 topic_id: 3075 reply_id: 9122[/import]
Brilliant - thanks Mike! I will have a look now.
Thanks for sharing! [import]uid: 7863 topic_id: 3075 reply_id: 9141[/import]
http://developer.anscamobile.com/code/another-local-score-framework
My module shows how i use JSON to save a highscore table. The same method can be used to save settings. [import]uid: 5712 topic_id: 3075 reply_id: 9138[/import]