0
\$\begingroup\$

Im working on a game right now, but I was wondering how I would store the game data in cookies(in javascript) where you can load it up, and resume the last spot you were at. I was looking at some other websites like w3schools, but I didn't really understand it

\$\endgroup\$
1

1 Answer 1

3
\$\begingroup\$

You don't use cookies. Take a look at localstorage. It is intended for storing small bits if data, that is too big for a cookie. Here is more info: http://www.html5rocks.com/en/tutorials/offline/storage/

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .