S
Steve Gal
Guest
I have been looking for a while now, and I cant seem to find a way to save surfaces to, or even move a saved surface file to a sub-directory I created. Am I missing something? or the folder creation only for text files?
The reason I want this is because upon exiting a room in my current game the "clutter" surface (containing a bunch of debris, gore, and destroyed remains) is saved for later use. Issue is I have a good 300 rooms and manually "going through every file to check if they exist and delete them if they do" is a bit messy. Was hoping I could just dump them all in a sub directory and delete the whole thing when needed instead.
As I said I can't even see any functions that would move created files into a sub directory, am I missing something? I am aware GMS is sandboxed but I only want to work inside the working directory.
The reason I want this is because upon exiting a room in my current game the "clutter" surface (containing a bunch of debris, gore, and destroyed remains) is saved for later use. Issue is I have a good 300 rooms and manually "going through every file to check if they exist and delete them if they do" is a bit messy. Was hoping I could just dump them all in a sub directory and delete the whole thing when needed instead.
As I said I can't even see any functions that would move created files into a sub directory, am I missing something? I am aware GMS is sandboxed but I only want to work inside the working directory.