doodle/pkg/level
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
..
actors.go Cut lib/render into its own package, change all imports 2019-12-22 18:21:58 -08:00
chunk_map.go Cut lib/render into its own package, change all imports 2019-12-22 18:21:58 -08:00
chunk_test.go Doodads: Crumbly Floor, Start Flag & State Blocks 2019-12-30 18:13:28 -08:00
chunk.go Brush Pattern Textures 2021-06-09 22:36:32 -07:00
chunker_test.go Change types int32 -> int per upstream render and ui library 2019-12-27 19:16:34 -08:00
chunker.go Palette Editor and Doodad Dropper Windows 2020-07-09 19:38:37 -07:00
filesystem.go Custom Wallpapers for Levels 2021-06-06 18:59:04 -07:00
fmt_binary.go Load Doodads from System Path as well as User Path 2019-05-06 13:35:08 -07:00
fmt_json.go Drawing Strokes and Undo/Redo Functionality 2019-07-03 16:25:23 -07:00
fmt_maintenance.go Auto-prune Empty Chunks in Level Files 2019-07-16 22:10:18 -07:00
fmt_readwrite.go Doodads: Use Key and Working Warp Doors 2021-01-03 15:19:21 -08:00
page_type.go Add MenuScene with New Level UI 2019-06-25 15:01:37 -07:00
palette_defaults.go Choice of palette when creating a new level 2021-06-05 20:51:20 -07:00
palette.go Brush Pattern Textures 2021-06-09 22:36:32 -07:00
swatch.go Brush Pattern Textures 2021-06-09 22:36:32 -07:00
types.go Change types int32 -> int per upstream render and ui library 2019-12-27 19:16:34 -08:00