Hello everyone ;)
I'm currently developping my own game (Hop!2D, about 70% done, it has its own thread in project section) and, each time the player quits, the game saves the langage used (french or english), the sound settings (sounds ? musics ? both ? none ?) and an array corresponding to the numbers of already unlocked worlds.
Everything works fine with saving and reloading those parameters but I can't get another one to work : I'd like to save a parameter (true or false) to know if the game was in fullscreen or window mode when exiting, so that if the player prefers fullscreen one, he needn't swith manually each time he opens the game.
I have tried to use OS.window_fullscreen variable in many ways but nothing seems to work from now on.
The game starts in window mode by default (OS.window_fullscreen = false), then I load all my parameters and use each of them to get the right settings in the game.
Thanks if you can help me :'(