doodle/pkg
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
..
balance WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
branding Cheats Menu UI 2023-01-02 12:36:12 -08:00
campaign Rename Go module 2022-09-24 15:17:25 -07:00
chatbot Rename Go module 2022-09-24 15:17:25 -07:00
collision Slippery Pixels + Update Changelog for 0.13.1 2022-10-10 10:52:28 -07:00
cursor Detect touchscreen and tweak some behaviors 2022-09-24 17:45:54 -07:00
doodads WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
drawtool Rename Go module 2022-09-24 15:17:25 -07:00
enum Flood Tool, Survival Mode for Azulian Tag 2022-03-26 13:55:06 -07:00
filesystem Rename Go module 2022-09-24 15:17:25 -07:00
gamepad Rename Go module 2022-09-24 15:17:25 -07:00
keybind Flood Tool, Survival Mode for Azulian Tag 2022-03-26 13:55:06 -07:00
level WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
levelpack Rename Go module 2022-09-24 15:17:25 -07:00
license Rename Go module 2022-09-24 15:17:25 -07:00
log Switch github.com/kirsle/golog to git.kirsle.net/go/log 2019-12-22 18:34:31 -08:00
modal Wait Modal 2022-09-24 18:39:02 -07:00
native JavaScript Exception Catcher UI 2022-09-24 21:58:01 -07:00
pattern SemiSolid Pixels + Icons 2022-10-09 21:39:43 -07:00
physics Rename Go module 2022-09-24 15:17:25 -07:00
savegame Rename Go module 2022-09-24 15:17:25 -07:00
scripting Unpin goja and fix callback registry functions 2022-10-10 19:14:38 -07:00
shmem Level Difficulty + UI Polish 2022-03-06 22:20:53 -08:00
sound Rename Go module 2022-09-24 15:17:25 -07:00
sprites Rename Go module 2022-09-24 15:17:25 -07:00
uix WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
updater Rename Go module 2022-09-24 15:17:25 -07:00
usercfg Cheats Menu UI 2023-01-02 12:36:12 -08:00
userdir Rename Go module 2022-09-24 15:17:25 -07:00
wallpaper Rename Go module 2022-09-24 15:17:25 -07:00
wasm Rename Go module 2022-09-24 15:17:25 -07:00
windows WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
cheats.go Cheats Menu UI 2023-01-02 12:36:12 -08:00
commands.go Cheats Menu UI 2023-01-02 12:36:12 -08:00
common_menubar.go Rename Go module 2022-09-24 15:17:25 -07:00
config.go Rename Go module 2022-09-24 15:17:25 -07:00
doodle.go WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
editor_scene_debug.go Rename Go module 2022-09-24 15:17:25 -07:00
editor_scene.go WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
editor_ui_doodad.go WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
editor_ui_menubar.go WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
editor_ui_palette.go WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
editor_ui_popups.go Rename Go module 2022-09-24 15:17:25 -07:00
editor_ui_toolbar.go Rename Go module 2022-09-24 15:17:25 -07:00
editor_ui.go Doodad/Actor Runtime Options 2022-10-09 17:41:24 -07:00
fps.go Rename Go module 2022-09-24 15:17:25 -07:00
guitest_scene.go Rename Go module 2022-09-24 15:17:25 -07:00
main_scene.go Rename Go module 2022-09-24 15:17:25 -07:00
menu_scene.go WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
play_inventory.go WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
play_scene_menubar.go Cheats Menu UI 2023-01-02 12:36:12 -08:00
play_scene_touch.go Cheats Menu UI 2023-01-02 12:36:12 -08:00
play_scene.go WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
player_physics.go Slippery Pixels + Update Changelog for 0.13.1 2022-10-10 10:52:28 -07:00
scene.go JavaScript Exception Catcher UI 2022-09-24 21:58:01 -07:00
shell.go Cheats Menu UI 2023-01-02 12:36:12 -08:00