How to use bitmap fonts?

How to use bitmap fonts that are exported to png and xml?

I use a tilemap (or a tilecontainer if I am rendering everything inside a tilemap already) and parse the XML to create the tileset and know how to write it.

I wrote the implementation myself, it is sketchy as it doesn’t support RTL or any other kind of non english characters but it does the trick.

there is a lib, it is probably outdated but https://github.com/Beeblerox/BitmapFont

1 Like

There is newer fork using Tilemap https://github.com/MatseFR/BitmapFont

3 Likes