LogoPixi’VN

Salva e carica

Questa pagina spiega come implementare il salvataggio e il caricamento dei progressi di gioco in Pixi'VN, inclusa l'esportazione di file, l'utilizzo di IndexedDB e le strategie di salvataggio automatico per i giochi browser.

Saving and loading progress is a core feature of most games, and it's especially important in story-driven games, where players expect to close the game mid-story and pick it up again exactly where they left off. In Pixi’VN, a save is a plain, serializable snapshot of the whole game state — narration position, canvas, sound, and any custom data you track — so you're free to persist it however suits your project: a downloadable file, a database, or the browser's local storage.

Altre funzionalità

In questa pagina