A short tutorial and demo game showing how to load and save player progress with Local Storage.
Dynetis Games writes: "This short tutorial and the demo that goes with it illustrate how you can save player progress in your Phaser 3 game using localStorage. That is, how to make sure that your players can leave the game, shut down their browser, then come back to it and resume seamlessly from where they left.
The demo used to illustrate this tutorial consists in a small clicker game, where you earn points by clicking on the Phaser logo. Your score is saved, allowing you to leave, come back and resume from where you left. In addition, your number of visits to the game is saved as well, in order to illustrate the concepts with more than one example. It’s obviously not a very interesting game but its simplicity allows to focus on the saving and loading of the data."
The first book on the creation of HTML5 cross platform games using Phaser 3 and other free software.
- By Emanuele Feronato
- 155 Pages
- 28 Source Code Examples
- Build a complete game from start to finish
- Cross Platform
- Scaling for devices