Skip to main content

Module ink

Module ink 

Source
Expand description

One-bit inks and their palette (the Playdate’s, game ADR-0074): a palette file of inks gives each colour name an Ink instead of an RGB value. It loads as a PaletteDef like any other, each colour being its ink’s reserved code, so screens and skins draw with it unchanged and a one-bit renderer reads the codes back as inks.

Enums§

Ink
How a one-bit pixel is coloured (game ADR-0074). The patterns are fixed to the screen’s pixels, so neighbouring tiles line up.