Plugin: import bitmap fonts from plain old PNG images

snoopdouglassnoopdouglas Posts: 2Member
edited May 19 in Resources

Hello! This is my first post here, and likewise I wanted to share my first submission to the asset lib.

This is the Godot Allegro Bitmap Font Importer Plugin. Given a set of glyphs, it allows you to import fonts from PNGs that you can make in any old image editor. I'm hoping this'll be particularly useful for custom pixel fonts. No BMFont required here!

Your fonts have to be arranged in a specific format, so make sure to look over the readme first.

The format is identical to that of the Allegro library's al_grab_font_from_bitmap function, hence the plugin's unwieldy name.

Hope somebody finds this useful. Feedback is of course welcome.

Diagram


Tags :

Comments

Sign In or Register to comment.