B
baconlovar
Guest
I've been trying to figure out how to save for hours now...
I've tried:
game_save();
&
if(file_exists("Save.sav")){ file_delete("Save.sav");}
var SaveFile = file_text_open_write("Save.sav");
file_text_open_write("Save.sav");
var SavedRoom = global.levelcounter;
file_text_write_real(SaveFile,SavedRoom);
file_text_close(SaveFile);
now, the weird thing that is happening is that the compiler is like "ignoring" it?
Like, it doesn't crash but it doesn't even respond to the code.
The compiler only says something about:
"Pause event has been registered for this frame
Pause event has been unregistered"
If someone could give me a hand it would be greatly appreciated
I've tried:
game_save();
&
if(file_exists("Save.sav")){ file_delete("Save.sav");}
var SaveFile = file_text_open_write("Save.sav");
file_text_open_write("Save.sav");
var SavedRoom = global.levelcounter;
file_text_write_real(SaveFile,SavedRoom);
file_text_close(SaveFile);
now, the weird thing that is happening is that the compiler is like "ignoring" it?
Like, it doesn't crash but it doesn't even respond to the code.
The compiler only says something about:
"Pause event has been registered for this frame
Pause event has been unregistered"
If someone could give me a hand it would be greatly appreciated