Feature idea - Custom fonts

it is possible to write a script which would convert text to indices and fill the space with tiles based on them (tilemap is just a really tiny indexed image with 1px=1tile) and so it would also be possible to take a tile map and convert it to text.
i know, because i tried. however, without extensive effort it would be only very clunky, barely usable tool. which is what i have now.

if you want to give it a try, here’s aseprite lua api: GitHub - aseprite/api: Scripting API for Aseprite
here’s a randomize tile script which gave me the idea for ‘tilewriter’ and it shows the use of getPixel and putPixel: Randomize tiles

PS.
tiles will work only on monospaced fonts, afaik there’s no way to offset tiles, so no kerning.

1 Like