Itch.io and Ink Saves
Since itch.io saves every game you play on the website in one localStorage, this sometimes creates an issue with Ink games, like not loading at all when starting.
While it is not fixable on itch's end (not a priority at least), a little bit of code magic in your coded ink game can help your players (if you use the web folder).
First, open the file main.js. In that file, there are 3 instances of " save-state " (the name under which every playthrough is save for any ink game):
let savedState = window.localStorage.getItem('save-state'); [...] window.localStorage.setItem('save-state', savePoint); [...] ย let savedState = window.localStorage.getItem('save-state');
Then, Change the save-state with something like save-game-name. Make sure all three spots, have the same combination of words (or it will break). Finally, save the changes. And you're set!













