doodle/pkg/doodads
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
..
dummy Collision: Fix walking up leftward slopes 2021-06-02 21:49:29 -07:00
actor.go Overhaul the Platformer Physics System 2020-04-04 21:00:32 -07:00
doodad.go Doodad Tool: Add Tag Support for edit-doodad 2020-01-02 22:12:20 -08:00
drawing.go Overhaul the Platformer Physics System 2020-04-04 21:00:32 -07:00
dummy.go Change types int32 -> int per upstream render and ui library 2019-12-27 19:16:34 -08:00
fmt_readwrite.go Embeddable Doodads In Levels 2021-06-13 14:59:03 -07:00
json.go Doodad CLI Tool Features; Write Lock and Hidden 2019-07-06 23:28:11 -07:00