Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

but you made a game that can save progress in gx games so how to you code that

ah, I see what you mean. I’m abroad at the moment, when I’m back I’ll try and setup the game install and check. I coded for saving on windows, so it must be automatic and works on both.

Hi again - progress (and everything) is saved using the file_text_open_write function, and file_text_open_read to load. For example:

var file = file_text_open_write(global.SAVEFILE);
file_text_write_real(file, room);
file_text_close(file);

More info on the GMS docs here.

thank you so much!!