Basic save/load system #23
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "kistaro/chameleonic:persist"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Saves and loads:
The music setting is stored "reversed" -- 0 is sound on, -1 is sound off -- because the starting state of a save file is all zeroes so the all zeroes file should show default behavior.
This is not golfed, there is almost certainly room for a lot of token savings. We probably need to start playing golf again pretty soon.
Currently, the maximum level is not enforced -- for development, the max is always level 31 -- but comment out the
max_level= 1
line and uncomment thepersist.max_level
line intitle:init
and it limits the player to levels they've reached through gameplay, as intended.Press and hold the down arrow on the title to wipe the save. This uses
wrongbleep
as an on-theme warning, vibration and all. There is currently no UI hint that this is available, this can be added in another patch.39efcdc1d5
to7b931d1fba
Rebased.