I’ve been working on an ingame shop, and since Corona lacks an inherent method to saving data, I’m using ice: http://developer.coronalabs.com/code/ice
But I’m not quite sure on how to implement it. I’d like to use it for the inventory and credits, but I’m currently stuck on credits.
I tried this:
credits = ice:loadBox( “credits” )
credits:storeIfNew( “credits”, 200 )
creditsText = display.newText(credits, 400, 0, native.systemFont, 36)
But that just gave me an error of some bad argument stack traceback… Anybody have any experience with ice? [import]uid: 200198 topic_id: 34698 reply_id: 334698[/import]