doodle/pkg/uix
Noah Petherbridge 82884c79ae Signed Levels and Levelpacks
Add the ability for the free version of the game to allow loading levels that
use embedded custom doodads if those levels are signed.

* Uses the same signing keys as the JWT token for license registrations.
* Levels and Levelpacks can both be signed. So individual levels with embedded
  doodads can work in free versions of the game.
* Levelpacks now support embedded doodads properly: the individual levels in
  the pack don't need to embed a custom doodad, but if the doodad exists in
  the levelpack's doodads/ folder it will load from there instead - for full
  versions of the game OR when the levelpack is signed.

Signatures are computed by getting a listing of embedded assets inside the
zipfile (the assets/ folder in levels, and the doodads/ + levels/ folders
in levelpacks). Thus for individual signed levels, the level geometry and
metadata may be changed without breaking the signature but if custom doodads
are changed the signature will break.

The doodle-admin command adds subcommands to `sign-level` and `verify-level`
to manage signatures on levels and levelpacks.

When using the `doodad levelpack create` command, any custom doodads the
levels mention that are found in your profile directory get embedded into
the zipfile by default (with --doodads custom).
2023-02-18 17:37:54 -08:00
..
magic-form WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
actor_animation.go Rename Go module 2022-09-24 15:17:25 -07:00
actor_collision.go Rename Go module 2022-09-24 15:17:25 -07:00
actor_events.go Doodads: Use Key and Working Warp Doors 2021-01-03 15:19:21 -08:00
actor.go Finalize Non-square Doodads 2023-02-17 21:09:11 -08:00
canvas_actors.go Signed Levels and Levelpacks 2023-02-18 17:37:54 -08:00
canvas_cursor.go Rename Go module 2022-09-24 15:17:25 -07:00
canvas_debug.go Finalize Non-square Doodads 2023-02-17 21:09:11 -08:00
canvas_editable.go Editor: Allow using doodad settings buttons in Pan Tool 2022-12-08 20:03:53 -08:00
canvas_link_tool.go Rename Go module 2022-09-24 15:17:25 -07:00
canvas_memory.go Rename Go module 2022-09-24 15:17:25 -07:00
canvas_present.go Finalize Non-square Doodads 2023-02-17 21:09:11 -08:00
canvas_scrolling.go "Look At Me" for Doodad Scripts 2022-09-24 23:54:51 -07:00
canvas_strokes.go Rename Go module 2022-09-24 15:17:25 -07:00
canvas_wallpaper.go Rename Go module 2022-09-24 15:17:25 -07:00
canvas_zoom.go Rename Go module 2022-09-24 15:17:25 -07:00
canvas.go Signed Levels and Levelpacks 2023-02-18 17:37:54 -08:00
crosshair.go Rename Go module 2022-09-24 15:17:25 -07:00
scripting.go Doodad/Actor Runtime Options 2022-10-09 17:41:24 -07:00