doodle/pkg/uix
Noah Petherbridge 97e179716c Add Technical Doodads + UI Fixes
New category for the Doodad Dropper: "Technical"

Technical doodads have a dashed outline and label for now, and they
turn invisible on level start, and are for hidden technical effects on
your level.

The doodads include:

* Goal Region: acts like an invisible Exit Flag (128x128), the level is
  won when the player character touches this region.
* Fire Region: acts like a death barrier (128x128), kills the player
  when a generic "You have died!" message.
* Power Source: on level start, acts like a switch and emits a
  power(true) signal to all linked doodads. Link it to your Electric
  Door for it to be open by default in your level!
* Stall Player (250ms): The player is paused for a moment the first time
  it touches this region. Useful to work around timing issues, e.g.
  help prevent the player from winning a race against another character.

There are some UI improvements to the Doodad Dropper window:

* If the first page of doodads is short, extra spacers are added so the
  alignment and size shows correctly.
* Added a 'background pattern' to the window: any unoccupied icon space
  has an inset rectangle slot.
* "Last pages" which are short still render weirdly without reserving
  the correct height in the TabFrame.

Doodad scripting engine updates:

* Self.Hide() and Self.Show() available.
* Subscribe to "broadcast:ready" to know when the level is ready, so you
  can safely Publish messages without deadlocks!
2021-10-02 20:52:16 -07:00
..
actor_animation.go Overhaul the Platformer Physics System 2020-04-04 21:00:32 -07:00
actor_collision.go Thief and Inventory APIs 2021-08-09 22:42:22 -07:00
actor_events.go Doodads: Use Key and Working Warp Doors 2021-01-03 15:19:21 -08:00
actor.go First-class Doodad Hitboxes + Generic Item Script 2021-09-03 20:39:44 -07:00
canvas_actors.go Add Technical Doodads + UI Fixes 2021-10-02 20:52:16 -07:00
canvas_cursor.go Change types int32 -> int per upstream render and ui library 2019-12-27 19:16:34 -08:00
canvas_editable.go Zoom Improvements 2021-09-12 15:27:37 -07:00
canvas_link_tool.go Doodads: Use Key and Working Warp Doors 2021-01-03 15:19:21 -08:00
canvas_present.go Zoom: Fix scrolling into negative coordinates 2021-09-12 15:47:16 -07:00
canvas_scrolling.go Bugfix: Scroll constraint favors top/left edge 2021-09-12 15:59:40 -07:00
canvas_strokes.go Zoom Improvements 2021-09-12 15:27:37 -07:00
canvas_wallpaper.go Stabilize Load Screen by Deferring SDL2 Calls 2021-07-19 17:14:00 -07:00
canvas_zoom.go Zoom And Edit 2021-09-11 17:02:01 -07:00
canvas.go Thief and Inventory APIs 2021-08-09 22:42:22 -07:00
scripting.go Add Technical Doodads + UI Fixes 2021-10-02 20:52:16 -07:00