doodle/assets
Noah Petherbridge cf1bc81f25 Update savegame format, Allow out-of-bounds camera
Updates the savegame.json file format:

* Levels now have a UUID value assigned at first save.
* The savegame.json will now track level completion/score based on UUID,
making it robust to filename changes in either levels or levelpacks.
* The savegame file is auto-migrated on startup - for any levels not
found or have no UUID, no change is made, it's backwards compatible.
* Level Properties window adds an "Advanced" tab to show/re-roll UUID.

New JavaScript API for doodad scripts:

* `Actors.CameraFollowPlayer()` tells the camera to return focus to the
  player character. Useful for "cutscene" doodads that freeze the player,
  call `Self.CameraFollowMe()` and do a thing before unfreezing and sending the
  camera back to the player. (Or it will follow them at their next directional
  input control).
* `Self.MoveBy(Point(x, y int))` to move the current actor a bit.

New option for the `doodad` command-line tool:

* `doodad resave <.level or .doodad>` will load and re-save a drawing, to
  migrate it to the newest file format versions.

Small tweaks:

* On bounded levels, allow the camera to still follow the player if the player
  finds themselves WELL far out of bounds (40 pixels margin). So on bounded
  levels you can create "interior rooms" out-of-bounds to Warp Door into.
* New wallpaper: "Atmosphere" has a black starscape pattern that fades into a
  solid blue atmosphere.
* Camera strictly follows the player the first 20 ticks, not 60 of level start
* If player is frozen, directional inputs do not take the camera focus back.
2023-03-07 21:55:10 -08:00
..
campaigns Tighten Doodad JavaScript API, User Documentation 2020-04-21 23:50:45 -07:00
icons Window Icon, UI Polish 2021-12-30 16:31:45 -08:00
pattern Swimming Physics and Bubble Pattern 2022-05-05 21:35:32 -07:00
rivescript Remove MsgPack, Fix doodad display on top/left edges 2022-01-09 13:16:29 -08:00
scripts First-class Doodad Hitboxes + Generic Item Script 2021-09-03 20:39:44 -07:00
sprites SemiSolid Pixels + Icons 2022-10-09 21:39:43 -07:00
wallpapers Update savegame format, Allow out-of-bounds camera 2023-03-07 21:55:10 -08:00
assets_embed.go Embed: Normalize path separator for Windows 2021-07-19 22:15:40 -07:00