Daniel Hood
Member
So, I'm having trouble saving the data through a uwp runtime. The data is saved during pure testing through gamemaker, but does not save the txt file when running the uwp. Seems to be loading properly, but does not store the information when asked to save.
this is my save file:
and this is my load file:
I should mention, this is with using included files, so my presumption is that it should be packaged with the uwp, which I think it is because it reads that there is a file there. The problem now is that I can't write into it. Reasoning for included files was because the same process with ini files didn't work. I didn't dive deep in the binary side of things, but no luck from those file types either. My alternative option was to include files and this is the only option where the uwp app can read or see the file.
I'm lost on this, been trying to figure it out but got zilch. Any help would be appreciated, thank you
this is my save file:
Code:
file = file_text_open_write("level.txt");
file_text_write_string(file, string(global.currentLevel));
file_text_close(file);
Code:
file = file_text_open_read("level.txt");
global.currentLevel = file_text_read_string(file);
file_text_close(file);
I'm lost on this, been trying to figure it out but got zilch. Any help would be appreciated, thank you