Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

oooh, I didn't see the tabs up top. also I realized that even though I closed and opened the browser between the two times I played, the levels I unlocked didn't get reset. Are you somehow using cookies or something to achieve that or did I hallucinate that?

(+1)

Good catch! I'm glad to hear that that is working as intended. I'm saving game state to the user path `user://`. Godot web exports convert that to use the browser's local disk. Not cookies exactly, as I'm not storing any data on a server, so there's no key validation required.

that's awesome. I used the user:// path in other projects before but I just assumed it wouldn't work in the web. good to know that it actually works.