I am making a level editor and the levels are stored in the Document directory. I want to be able to delete levels by pressing a button in the app. Right now i just erase all the data in the file by writing over it with an empty string, but is there a way to remove the file completely?
Comments
You can try:
Likes: anskurt
Should have found that myself since it was in the documentation.
you can use Lua File System plugin:
Thank you very much. I didnt notice this. the gideros manual on lfs is still empty(so i thought it was still unsupported)
Likes: chipster123