Y
Y
Yan Volodin2015-08-09 21:59:25
JavaScript
Yan Volodin, 2015-08-09 21:59:25

Saving game progress, are there solutions?

When developing a game in JS (plain text).
The current progress of the game can be stored in variables , but this is not a solution, because if the browser is closed and all progress will be lost .
What are the practices for maintaining progress?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Lozovyuk, 2015-08-09
@aleks_raiden

Send to the server and save there. You can use third-party services - for example, AppWarp or Parse - in fact, you need Backend-as-a-Service, there are quite a few of them, but pay attention to AppWarp - they specialize in backend for games

A
Archakov Dennis, 2015-08-09
@archakov06

Cookie or WebStorage. It is advisable to encrypt the values.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question