Storage
Overview
// Define what storage engine should be used to save the game data. *
// Adapters Available:
// - LocalStorage: This one is used by default
// - SessionStorage: Same as LocalStorage but will be cleared when the page
// is closed.
// - IndexedDB: The information is saved using the IndexedDB web API
// - RemoteStorage: The information will be sent and retrieved from a given
// URL Endpoint providing a REST API.
'Storage': {
'Adapter': 'LocalStorage',
'Store': 'GameData',
'Endpoint': ''
}Local Storage
Session Storage
Indexed DB
Remote Storage
Implementing the Remote Storage
Name
Description
Last updated
Was this helpful?