Clear Memory

Hey,

I’m developing a game that has client side auto-saving like most iOS games out there right now.

How do I delete the local save file and “start over” on the game?

This should do the trick (:

os.remove(system.pathForFile("pathOfTheSaveFile", system.DocumentsDirectory))

Or you can write out new “starting” values…

Rob

This should do the trick (:

os.remove(system.pathForFile("pathOfTheSaveFile", system.DocumentsDirectory))

Or you can write out new “starting” values…

Rob