🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles

HTML5 game : Save data locally

A topic by Acid Prank created Jan 26, 2018 Views: 246 Replies: 2
Viewing posts 1 to 3


I'm wondering if it is possible to save data client side or even server side (I doubt for this one) ? 

I did a quick search and it seems that it is possible to save some data locally : 


Does someone already did on a HTML5 Game here ?  some experience to share ? 

(Edited 1 time) (+1)

I can tell you that you're on the right tracks. Local storage is the way to go, so go ahead read on that :)

As for my experience, I did a bit of web games years ago when HTML5 wasn't a thing - so you'd usually go for cookies to save and load data. Cookies were very easy to implement but are a mess to work with.


You can use local storage to save data. We currently have an issue where uploading a new build of your game changes the path it lives on, so you might lose your storage depending on how you've saved it.