As far as I can tell, you can only save out strings of text to files, or, by using CrawlSpaceLib you can save properties like this:
local data = {};
data.lives = 5;
data.health = 75;
Save(data);
But I have situations where I need to save a table of data. For example, which of 10 levels are “unlocked”. So I have a table called lockedStatus which would look like this:
{false, false, false, true, true, true, true, true, true, true}
meaning that the first 3 levels are unlocked.
So when the user quits the app and comes back, I need to save the table. Is there a better way to do it than converting it to a string and then reconstructing the table from the string in the text file upon relaunch? [import]uid: 52127 topic_id: 12700 reply_id: 312700[/import]
[import]uid: 3826 topic_id: 12700 reply_id: 46555[/import]