Storage
Overview
Monogatari can use different storage engines so you can choose whichever works for your game best. This configuration can be found inside your options.js
file. By default, it will look something like this:
When releasing a game as a website, it's important to note that if people enter your game using the incognito mode in their browsers, their data will be erased when they close that window unless you choose to roll out your own server-based storage with the Remote Storage option.
Local Storage
This is the default storage engine used by Monogatari and it uses your browser's local storage.
Session Storage
The session storage works just like the local storage engine with the important difference that their data will be erased the moment they close the game.
Indexed DB
Remote Storage
Last updated