doodle/pkg/windows
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
..
about.go Menu Bar Update 2020-06-04 21:55:54 -07:00
add_edit_level.go New Default Wallpapers 2021-06-06 19:22:53 -07:00
doodad_dropper.go Layer Selection Window for Doodad Editor 2020-11-16 23:23:21 -08:00
layers_window.go Doodads: Use Key and Working Warp Doors 2021-01-03 15:19:21 -08:00
open_level_editor.go Doodads: Use Key and Working Warp Doors 2021-01-03 15:19:21 -08:00
palette_editor.go Brush Pattern Textures 2021-06-09 22:36:32 -07:00
settings.go WIP Game Settings Window, WASM Fixes, Sound FX 2020-09-01 20:54:58 -07:00