A
Aaron Walton
Guest
Trying to get my save system implemented, using GM Wolf's "Advanced Save System" tutorial. It uses ds_maps to save specified variables in specified objects to a json file. Loading the game deletes all saveable objects and creates them again with the saved parameters. Currently I have it set to save the x, y, and room of the player object and the camera object (both are persistant). I'm having a few issues with this, but the strangest of them is this: if I save the game, and load it, it works fine. If I load the same game again, the camera object does not get reloaded! If I save the game, load it, close the game, start it again, and then load it, it loads properly. But if you load twice without closing the game and reopening it, the camera doesn't get loaded. Nor does it get loaded if, instead of closing and starting the game, you use the game_restart function. Since the player object loads correctly, it seems like the issue must be with the camera object rather than the save system itself, but I don't know.
I'm not really sure what code to even include here, as the save system includes about five different scripts and the camera has four events.
Any thoughts?
I'm not really sure what code to even include here, as the save system includes about five different scripts and the camera has four events.
Any thoughts?