Sprite Font Builder Preview

John WordsworthProjects2 Comments

sfb-featured-image

I thought it was about time I got back to posting some updates about progress on side projects that I’ve been working on lately. One of those projects is an update to a really old C# application that I wrote a few years ago. I never really got around to finishing the ‘Fancy Bitmap Font Generator‘ as it was essentially built as a means to an end, and we achieved that end and so felt no need to spend more time on the need.

However, in an effort to revisit C++ after a number of years and to get my hards dirty with the ‘Qt UI Framework‘ I felt that this was a good time to write a useful cross-platform utility for creating bitmap fonts for 2D games.

I wanted to build a utility that offers more options that other applications offering similar functionality. Many similar programs offer an outline stroke and a drop-shadow but nothing much more advanced than that. While generating my own bitmap fonts, I found myself wanting more – a few more effect layers for instance, so that it’s possible to create an inner shine without having to open the file in Photoshop afterwards.

While only a work in progress so far, here’s a screen shot of the ‘Sprite Font Builder’ in action.

sfb-preview-01@2x

The user-interface really needs some work at the moment. The application currently supports just the 5 fixed layers (which can be toggled on and off) but the underlying model is able to handle any number of effects layers. I hope to translate this across to the UI in a friendly way soon so that you can build up convoluted and awesome effects on your sprite fonts quickly and easily.

If you have any suggestions for what would make this tool useful, please don’t hesitate to leave a comment below. Otherwise, I’ll leave you with a couple more screenshots of composite effects on generated sprite fonts;

sfb-sample-02 sfb-sample-01

John WordsworthSprite Font Builder Preview

2 Comments on “Sprite Font Builder Preview”

  1. internet

    You can use discussion groups and forums to convince
    visitors to stay logged in to your site for a longer time.
    This could, however, estrange the relationship between the creators and the strategists or SEO.
    SEO and web developer professionals vary on the prescribed keyword density, usually
    ranging from a one to three percent density rate.

  2. Achmad

    Very interesting! Your use of dlaegetes reminds me of the Strategy Pattern, but allows for much quicker and more concise implementation for simpler strategies because the developer doesn’t have to implement a whole interface which describes the small strategy and entire subclasses to implement the strategy. It’s definitely going into my repertoire of C# programming techniques.I hope you don’t mind that I nitpick a little, and do correct me if I’m wrong, but I found your statement that dlaegetes in C# allow you to assign a type to a particular method signature left me a little confused for a bit because method signature typically refers to the method’s name, order of parameters, and type of parameters. However, it seems the dlaegetes assign not only the order and type of parameters but also the return type of the function, and it does not assign it a name. For me who doesn’t have much experience using dlaegetes, it would have been much clearer to say dlaegetes in C# allow you to assign a method type to a particular order and type of parameters and return type , so I wouldn’t mistakenly believe dlaegetes restrict the method name.

Leave a Reply

Your email address will not be published. Required fields are marked *