doodle/pkg/uix
Noah Petherbridge eb24858830 Brush Pattern Textures
Palette swatches gain a new property: Pattern.

Patterns are grayscale textures that the swatch color will sample
against when drawing pixels to the level, by taking the world coordinate
modulo a value inside the texture.

A few algorithms were tried (Screen, Overlay), this branch lands on one
that tries to cast the color from grayscale which comes out rather dark;
to get a patterned color to look black while still seeing the pattern,
the color needs to be as bright as #777 to get the effect.
2021-06-09 22:36:32 -07:00
..
actor_animation.go Overhaul the Platformer Physics System 2020-04-04 21:00:32 -07:00
actor_collision.go Decouple gravity from player velocities 2021-06-02 22:18:25 -07:00
actor_events.go Doodads: Use Key and Working Warp Doors 2021-01-03 15:19:21 -08:00
actor.go Doodads: Small Key Door + Bigger Crumbly Floor 2021-01-03 17:06:33 -08:00
canvas_actors.go Collision Box Updates 2021-06-02 20:50:28 -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 Brush Pattern Textures 2021-06-09 22:36:32 -07:00
canvas_link_tool.go Doodads: Use Key and Working Warp Doors 2021-01-03 15:19:21 -08:00
canvas_present.go Doodads: Small Key Door + Bigger Crumbly Floor 2021-01-03 17:06:33 -08:00
canvas_scrolling.go Custom Wallpapers for Levels 2021-06-06 18:59:04 -07:00
canvas_strokes.go Brush Pattern Textures 2021-06-09 22:36:32 -07:00
canvas_wallpaper.go Prepare v0.4.0 for release 2020-11-19 20:51:02 -08:00
canvas_zoom.go WIP Zoom Tool 2020-11-19 20:09:15 -08:00
canvas.go Custom Wallpapers for Levels 2021-06-06 18:59:04 -07:00
scripting.go Doodads: Use Key and Working Warp Doors 2021-01-03 15:19:21 -08:00