-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
There are probably three main approaches to this:
- Use a seeded RNG built into sugarcube. Seed the player on creation.
- Some data can be saved to the player state as needed, like we do store inventories. Challenge - you have to forces a state save in the story engine for any sort of permenance.
- Use the Web Storage API, particularly sessionStorage to serialize variables to.
The prime candidates for things like this are not just shops, but also some of the mini games, particularly things like the slots which actually break if the user reloads their browser. Reloading on any kind of gambling is just plain lame. Lets see what we can do about it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels