Appearance
Save System
Temporary solution for the prototype and beta. This will be replaced with server-side persistence when the game moves to production.
What Gets Saved
- Player skill levels and XP (Attack, Strength, Defence, Hitpoints)
- Gold balance
- Equipped gear
- Inventory contents
- Highest unlocked level/checkpoint
- Consumable threshold settings (auto-eat HP %)
Storage
Browser localStorage. No server-side persistence. Saves are lost if the player clears browser data or switches devices.
When It Saves
Auto-save on a timer (every 30 seconds) and on key events: level complete, item purchased, death.
Schema Versioning
Each save stores a schema version number. When the game updates and the schema changes, migration functions upgrade old saves to the current format. The player keeps their progress across updates.