On my development machine, I have the following file structure:
/Game = lua files go here
/Game/Assets/… = various image files
/Game/Data = “levels” file and “user_levels” file
My game will ship with a level-editor, so I want to allow my users to read and write data to a levels file. My understanding is that on iOS this sort of activity needs to happen in the Documents Directory.
I believe I understand how to read and write to that directory - but my question is: how can I get the “levels” and “user_levels” INTO the Documents Directory when my app is first installed? Do I need a specifcally named folder in my development machine? Do I need to code a one-time copy of those files? Can I then delete the originals out of the system resources directory?
It seems like this should be a simple thing, but I haven’t read any clear explanations of how this is handled.
Second question - how does this differ for Android? [import]uid: 65996 topic_id: 13683 reply_id: 313683[/import]