doodle/pkg/uix
Noah Petherbridge ddcad27485 WIP: Chunker size to uint8 and Rectangular Doodads
Convert the Chunker size to a uint8 so chunk sizes are limited to 255px. This
means that inside of a chunk, uint8's can track the relative pixel coordinates
and result in a great memory savings since all of these uint8's are currently
64-bits wide apiece.

WIP on rectangular shaped doodads:
* You can create such a doodad in the editor and draw it normally.
* It doesn't draw the right size when dragged into your level however:
  - In uix.Actor.Size() it gets a rect of the doodad's square Chunker size,
    instead of getting the proper doodad.Size rect.
  - If you give it the doodad.Size rect, it draws the Canvas size correctly
    instead of a square - the full drawing appears and in gameplay its hitbox
    (assuming the same large rectangle size) works correctly in-game.
  - But, the doodad has scrolling issues when it gets to the top or left edge
    of the screen! This old gnarly bug has come back. For some reason square
    canvas doodads draw correctly but rectangular ones have the drawing scroll
    just a bit - how far it scrolls is proportional to how big the doodad is,
    with the Start Flag only scrolling a few pixels before it stops.
2023-02-16 21:47:18 -08:00
..
magic-form WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
actor_animation.go Rename Go module 2022-09-24 15:17:25 -07:00
actor_collision.go Rename Go module 2022-09-24 15:17:25 -07:00
actor_events.go Doodads: Use Key and Working Warp Doors 2021-01-03 15:19:21 -08:00
actor.go WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
canvas_actors.go WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
canvas_cursor.go Rename Go module 2022-09-24 15:17:25 -07:00
canvas_editable.go Editor: Allow using doodad settings buttons in Pan Tool 2022-12-08 20:03:53 -08: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 WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
canvas_scrolling.go "Look At Me" for Doodad Scripts 2022-09-24 23:54:51 -07:00
canvas_strokes.go Rename Go module 2022-09-24 15:17:25 -07:00
canvas_wallpaper.go Rename Go module 2022-09-24 15:17:25 -07:00
canvas_zoom.go Rename Go module 2022-09-24 15:17:25 -07:00
canvas.go WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
crosshair.go Rename Go module 2022-09-24 15:17:25 -07:00
scripting.go Doodad/Actor Runtime Options 2022-10-09 17:41:24 -07:00