doodle/pkg/windows
Noah Petherbridge 672ee9641a Savegame and High Scores
* Adds pkg/savegame to store user progress thru Level Packs.
* The savegame.json is mildly tamper resistant by including a checksum
  along with the JSON body.
* The checksum combines the JSON string + an app secret (in savegame.go)
  + user specific entropy (stored in their settings.json). If the user
  modifies their save file and the checksum becomes invalid the game
  will not load the save file, acting like it didn't exist, resetting
  all their high scores.

Updates to the Story Mode window:

* On the LevelPacks list: shows e.g. "[completed 0 of 3 levels]" showing
  a user's progress thru the level pack.
* Below the levels on the Detail screen:
  * Shows an indicator whether the level is completed or not.
  * Shows high scores (fastest times beating the level)
  * Shows a padlock icon if levels are locked and the player hasn't
    reached them yet. Pops up an Alert modal if a locked level is
    clicked on.

Scoring is based around your fastest time elapsed to finish the level.

* Perfect Time (gold coin): player has not died during the level.
* Best Time (silver coin): player has continued from a checkpoint.

In-game an elapsed timer is shown in the top left corner along with the
gold or silver coin indicating if your run has been Perfect.

If the user enters any Cheat Codes during gameplay they are not eligible
to win a high score, but the level will still be marked as completed.
The icon next to the in-game timer disappears when a cheat code has been
entered.
2022-01-02 16:28:43 -08:00
..
about.go Menu Bar Update 2020-06-04 21:55:54 -07:00
add_edit_level.go Window Icon, UI Polish 2021-12-30 16:31:45 -08:00
doodad_dropper.go Add Technical Doodads + UI Fixes 2021-10-02 20:52:16 -07:00
doodad_properties.go Small typo fix 2021-09-03 21:45:48 -07:00
filesystem_window.go Manage Embedded Files In Levels 2021-06-13 16:03:32 -07:00
layers_window.go Doodads: Use Key and Working Warp Doors 2021-01-03 15:19:21 -08:00
levelpack_open.go Savegame and High Scores 2022-01-02 16:28:43 -08:00
license_key.go Diverge Free vs. Paid Features 2021-06-16 22:35:01 -07:00
open_level_editor.go Window Icon, UI Polish 2021-12-30 16:31:45 -08:00
palette_editor.go Add the ui.ColorPicker 2022-01-01 18:48:34 -08:00
pip_canvas.go Viewport Windows, Quality of Life, Spit and Polish 2021-10-06 22:22:34 -07:00
publish_level.go Manage Embedded Files In Levels 2021-06-13 16:03:32 -07:00
settings.go Add the ui.ColorPicker 2022-01-01 18:48:34 -08:00