Draw a character grid
texture_drawDraw small pixel-art images from rows of characters and a color palette; each character maps to scale-sized pixels, and characters missing from the palette are skipped.
Instructions
Draws a small picture from rows of characters, for example rows ["..ab..", ".abba."] with palette {"a": "#ff0000", "b": "#000000"}. Characters not in the palette are skipped. Each character covers scale x scale pixels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| rows | Yes | ||
| scale | No | ||
| palette | Yes |