Noah Petherbridge
eb24858830
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.
14 lines
345 B
Go
14 lines
345 B
Go
package branding
|
|
|
|
// Constants for branding and version information.
|
|
const (
|
|
AppName = "Sketchy Maze"
|
|
Summary = "A drawing-based maze game"
|
|
Version = "0.6.1-alpha"
|
|
Website = "https://www.sketchymaze.com"
|
|
Copyright = "2021 Noah Petherbridge"
|
|
|
|
// Update check URL
|
|
UpdateCheckJSON = "https://download.sketchymaze.com/version.json"
|
|
)
|