Saving and Loading game state to the file
We need to create a global macro in the first object we believe is created (in my case the menu object) to save the name of the file.
#macro SAVEFILE "save_test.sav"
Then we can use this macro in our code to refer to our save file.
Now, whenever we ...
shiman.hashnode.dev1 min read