itch.io is community of indie game creators and players

Devlogs

Automatic progress saving

Advanced Tutorial
A browser Advanced Tutorial made in HTML5

There is a feature I currently work for and almost finished with - auto progress saving. This means that each time when player matches some internal conditions, the game’s state is saved to the local storage. After reloading the game, you will continue exactly where you have stayed.

And what is more excited that all randomization is also saved. What does it mean? Imagine, that you started a chapter where random decided that you will play levels in specified order. During the play, you was interrupted and had to close the game. So when you start the game next time, the order of levels in the chapter will remain the same as if you play without interruptions.

This all is possible thanks to a seed and state of a random generator, implemented by Phaser.

Leave a comment