简体   繁体   中英

HTML5 & Javascript Canvas game - How to make it possible for the player to save their game

I am completely new to programming. I want to create a game using Javascript and the HTML5 canvases. The game will be a stealth zombie game and I need to create a permanent storage of scores. I also need to make it possible for them to save at a checkpoint and load it back up at a later date - after the game/webpage has been refreshed. How do I do that/what is the best way to do it?

You can use a database for that. If you don't have sql experience, I prefer you go with a nosql database such as Mongodb .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM