• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Working_directory from HTML5?

Coded Games

Member
Does anyone know where the working_directory is for HTML5?

All the docs say is this:
  • HTML5 - Everything is done through the local storage.
 

Mercerenies

Member
"Local storage" is referring to the DOM property Window.localStorage, which is what GM:S is using behind-the-scenes. Your browser stores it wherever it pleases (Firefox, at least, puts it somewhere in your profile folder inside .mozilla; can't speak for other browsers).
 

chmod777

Member
working_directory is the folder that holds all the files of your game (by default, the value is "html5game/").

To complete the above answer about localStorage in Firefox, you can find, edit or delete data by opening the browser's console > Storage > Local Storage.
 
Top