doodle/pkg/scripting
Noah 402b5efa7e Zipfiles for Attached Files Too
* The level.FileSystem type has updated to support ZIP files too.
* Legacy levels loaded from gz/json have their old FileSystem as a
  simple map[filename]data and this parses from JSON OK.
* On save to zip, the legacy loaded file data gets exported to ZIP.
* Going forward: newly added or deleted files during runtime are kept in
  the legacy file map until the next save when the filemap is again
  flushed out to ZIP.
* For regular read-access, the FileSystem reads from the ZIP file if the
  data is not in the hot map (legacy file or recently modified
  attachment).
* Bugfix: be sure to Inflate() the Level/Doodad after loading from
  zipfile - it used to be that directly after a save, trying to play the
  level failed because the Level.Actors struct was missing their IDs,
  and similarly recently written chunks would error out (become black
  voids) on levels/doodads so we Inflate() both after save/replacing
  their zip handle.
2022-04-30 12:50:00 -07:00
..
events.go Checkpoint Flag can Re-assign Player Character 2022-01-18 21:24:36 -08:00
js_api.go Update Doodad JS API + Hostile mobs 2022-01-17 21:28:05 -08:00
pubsub.go LoadUnloadChunk for Memory Optimization 2022-04-10 12:40:25 -07:00
scripting.go Zipfiles for Attached Files Too 2022-04-30 12:50:00 -07:00
supervisor_events.go Checkpoint Flag & Retry from Checkpoint 2021-08-15 20:17:53 -07:00
timers.go Switch JavaScript engine to goja 2022-01-16 20:09:27 -08:00
vm.go LoadUnloadChunk for Memory Optimization 2022-04-10 12:40:25 -07:00