doodle/pkg/uix
Noah Petherbridge 373028a166 Code cleanup
Clean up and improve the between-actors collision code:

* Give names to the A, B tuples from BetweenBoxes and call them the stable and
  mover doodads. All ops are from the perspective of the stable (A) box in
  relation to the mover (B).
* Replace the map[*Actor]*Actor collision struct to one that supports arrays of
  colliding actors, enabling one actor to post OnLeave events correctly when it
  overlapped several actors at once.
* Possibly improve on some of the collision bugs along the way.

Some issues remaining:

* If playing AS an offset-hitbox character:
    * Solid hitboxes against closed doors and platforms works OK.
    * Button InHitbox (overlap) checks do not fire (buttons won't press).
* If playing with a non-offset character (e.g. boy.doodad)
    * Solid hitboxes work and Buttons will press correctly.
* Both types of player hitboxes:
    * When touching a static object such as the Start Flag which has an offset
      hitbox of its own: the Start Flag will creep up the level on its Y axis
      when touched before it settles and won't move.
2024-07-07 22:45:21 -07:00
..
magic-form ListBoxes Overhaul 2023-04-08 21:26:08 -07:00
actor_animation.go Rename Go module 2022-09-24 15:17:25 -07:00
actor_collision.go Code cleanup 2024-07-07 22:45:21 -07:00
actor_events.go Doodads: Use Key and Working Warp Doors 2021-01-03 15:19:21 -08:00
actor.go Coyote time 2024-02-06 20:56:07 -08:00
canvas_actors.go Resolve circular import errors for Doodle++ plugin 2024-04-18 22:12:56 -07:00
canvas_cursor.go Rename Go module 2022-09-24 15:17:25 -07:00
canvas_debug.go Finalize Non-square Doodads 2023-02-17 21:09:11 -08:00
canvas_editable.go (Experimental) Run Length Encoding for Levels 2024-05-23 23:02:01 -07:00
canvas_link_tool.go Rename Go module 2022-09-24 15:17:25 -07:00
canvas_memory.go Rename Go module 2022-09-24 15:17:25 -07:00
canvas_present.go Fix doodad properties button hitbox 2024-02-11 17:00:19 -08:00
canvas_scrolling.go Fix touchscreen mode detection 2024-04-19 22:01:33 -07:00
canvas_strokes.go Rename Go module 2022-09-24 15:17:25 -07:00
canvas_wallpaper.go Update savegame format, Allow out-of-bounds camera 2023-03-07 21:55:10 -08:00
canvas_zoom.go Rename Go module 2022-09-24 15:17:25 -07:00
canvas.go Code cleanup 2024-07-07 22:45:21 -07:00
crosshair.go Rename Go module 2022-09-24 15:17:25 -07:00
scripting.go Scripting: Bring Self API up to Actor API parity 2024-04-26 22:34:13 -07:00