FlxBitmapFont – A Bitmap Font class for Flixel 2 released

Today I released my FlxBitmapFont package to Google Code. This allows you to use bitmap fonts directly in your Flixel 2 games:

The bitmap fonts are just an extension of a Flixel Sprite, meaning you can throw them around, collide with them, scale them, rotate them and generally cause havoc. Or of course they could just be UI elements, proving a score/lives count. But at least the choice is yours :)

11 fonts are included, 2 sample programs and comprehensive documentation in the form of a PDF file. I’ve also published that here on my blog: http://www.photonstorm.com/flxbitmapfont and I will update both my blog and the Google Code archive as needed.

Anyway I hope you have fonty fun with this! Look out for a number of new Flixel classes from me in the coming months, or catch me on the flixel forums where I help moderate the place.

Posted on May 21st 2010 at 1:37 am by .
View more posts in Flixel. Follow responses via the RSS 2.0 feed.

10 Responses

Leave a comment
  • Fab
    June 18th 2010 at 11:28 am

    Hi , how to use this in a file without “flixel” . best regards

  • June 18th 2010 at 1:09 pm

    Sorry but you can’t – it’s designed specifically for Flixel. I could make a “stand alone” version I guess, it wouldn’t be that hard to adapt. But I just don’t think many people would be interested!

  • Fab
    June 20th 2010 at 5:58 pm

    ok rich , thank you for your reply .

  • April 18th 2011 at 9:50 am

    Hello , A standalone scroll text is here : http://flashtro.com/page.php?id=2175
    unfortunately it is not of high quality (compared to FlxBitmapFont) .

    I tried to change this script with external variables, but many errors and some fonts slow down a lot scrolling …

    ps : good job rich

  • April 18th 2011 at 9:55 am

    That’s a nice tutorial on ripping from WinUAE save states at least :) I already have a class to turn the FlxBitmap into a scrolling text, which I will add to the Flixel Power Tools shortly. Keep an eye out for it :)

  • April 19th 2011 at 3:24 pm

    I wait with impatience 😉 … if you know of another tutorial or file like this, please share .

    Fab try this tutorial … Enjoy

  • Fab
    April 22nd 2011 at 11:49 am

    Ho ho thanks for tutorial , very nice … i test now

  • graphitt
    October 24th 2012 at 12:34 pm

    What if i have font where chars are different width? Is there an workaround, or some other way to make it work with?

  • October 24th 2012 at 12:55 pm

    Nope, you’d have to use a different class. Search the flixel forums – there is one on there that uses different width fonts.

Make yourself heard