Setting up Easy Save properly
Posted: Wed Apr 10, 2019 11:09 am
Hello Joel,
excuse my ignorance, but i'm having difficulties setting up easy save. I'm working with Playmaker, i've got all the save and load stuff managed.
However, i'm not sure how to make the text file that will be used for saving. I made one and put it in the assets folder, but since it's not in the scene it's not included in the build.
This is the setting
I also tried setting the Default Save Location to File, but it's the same, defaultFile.txt is not appearing in the build nor when i run the game and save the variables. I don't want to use absolute path since that can only make problems.
ES3 was cool in that regard since i had ES3 File Create action where i could create the file on runtime, but i'm not sure how to do it with ES2.
Also, when i load and save, should i just put defaultFile.txt in the filename or should i get persistent path and append defaultFile.txt string then use that string to load data?
excuse my ignorance, but i'm having difficulties setting up easy save. I'm working with Playmaker, i've got all the save and load stuff managed.
However, i'm not sure how to make the text file that will be used for saving. I made one and put it in the assets folder, but since it's not in the scene it's not included in the build.
This is the setting
I also tried setting the Default Save Location to File, but it's the same, defaultFile.txt is not appearing in the build nor when i run the game and save the variables. I don't want to use absolute path since that can only make problems.
ES3 was cool in that regard since i had ES3 File Create action where i could create the file on runtime, but i'm not sure how to do it with ES2.
Also, when i load and save, should i just put defaultFile.txt in the filename or should i get persistent path and append defaultFile.txt string then use that string to load data?