Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

hello I just wanted to know how you do to save progress after the game is exited on Gx.games

I’ll be honest… I’ve now idea :( I’m not an expert of the GX platform so not sure… will try and find out!

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!!