doodle/pkg/level
Noah Petherbridge 7093b102e3 Embeddable Doodads In Levels
* The Publisher is all hooked up. No native Save File dialogs yet, so
  uses the dev shell Prompt() to ask for output filename.
* Custom-only or builtin doodads too can be stored in the level's file
  data, at "assets/doodads/*.doodad"
* When loading the embedded level in the Editor: it gets its custom
  doodads out of its file, and you can drag and drop them elsehwere,
  link them, Play Mode can use them, etc. but they won't appear in the
  Doodad Dropper if they are not installed in your local doodads
  directory.
* Fleshed out serialization API for the Doodad files:
  - LoadFromEmbeddable() looks to load a doodad from embeddable file
    data in addition to the usual places.
  - Serialize() returns the doodad in bytes, for easy access to embed
    into level data.
  - Deserialize() to parse and return from bytes.
* When loading a level that references doodads not found in its embedded
  data or the filesystem: an Alert modal appears listing the missing
  doodads. The rest of the level loads fine, but the actors referenced
  by these doodads don't load.
2021-06-13 14:59:03 -07:00
..
publishing Embeddable Doodads In Levels 2021-06-13 14:59:03 -07:00
actors.go Cut lib/render into its own package, change all imports 2019-12-22 18:21:58 -08:00
chunk_map.go Cut lib/render into its own package, change all imports 2019-12-22 18:21:58 -08:00
chunk_test.go Doodads: Crumbly Floor, Start Flag & State Blocks 2019-12-30 18:13:28 -08:00
chunk.go Brush Pattern Textures 2021-06-09 22:36:32 -07:00
chunker_test.go Change types int32 -> int per upstream render and ui library 2019-12-27 19:16:34 -08:00
chunker.go Palette Editor and Doodad Dropper Windows 2020-07-09 19:38:37 -07:00
filesystem.go Embeddable Doodads In Levels 2021-06-13 14:59:03 -07:00
fmt_binary.go Load Doodads from System Path as well as User Path 2019-05-06 13:35:08 -07:00
fmt_json.go Drawing Strokes and Undo/Redo Functionality 2019-07-03 16:25:23 -07:00
fmt_maintenance.go Auto-prune Empty Chunks in Level Files 2019-07-16 22:10:18 -07:00
fmt_readwrite.go Doodads: Use Key and Working Warp Doors 2021-01-03 15:19:21 -08:00
page_type.go Add MenuScene with New Level UI 2019-06-25 15:01:37 -07:00
palette_defaults.go Choice of palette when creating a new level 2021-06-05 20:51:20 -07:00
palette.go Brush Pattern Textures 2021-06-09 22:36:32 -07:00
swatch.go Brush Pattern Textures 2021-06-09 22:36:32 -07:00
types.go Change types int32 -> int per upstream render and ui library 2019-12-27 19:16:34 -08:00