Guide 1 Docs 2 Reference 3

Method of Picture

picture:sprite

Draws pixel art: each string a row, each character a dot scale pixels square (1 by default); a character with no ink is skipped.

picture:sprite(x: number, y: number, rows: { string }, inks: { [string]: Ink }, scale: number?)

Parameters

xnumberrequired
ynumberrequired
rows{ string }required
inks{ [string]: Ink }required
scalenumberoptional