Plugin: import bitmap fonts from plain old PNG images

snoopdouglassnoopdouglas Posts: 5Member
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

  • cyberealitycybereality Posts: 1,022Moderator

    Cool.

  • boruokboruok Posts: 23Member

    at last!

  • snoopdouglassnoopdouglas Posts: 5Member
    edited May 19

    I've published v1.1.0, which just adds a few flags for the generated ImageTexture (see the above screenshot).

  • TheMnkTheMnk Posts: 46Member

    What?... wait a... woow!... i have to try this thanks!

Sign In or Register to comment.