Game Development Community

Custom bitmap font tutorial

by Brian Tan · in iTorque 2D · 05/28/2009 (4:15 pm) · 1 replies

I tried looking at www.garagegames.com/community/forums/viewthread/33501 and the resource links to a blog that doesn't exist.
www.garagegames.com/community/forums/viewthread/71372 doesn't really help what I need to do either. I tried using fontboy from TDN but I can't find a font that has the same width and height of my custom font to replace and also I don't have all the symbols in between. Will it know how to handle the spacing? How does it know to go to the next letter?

I just have a png image strip of 26 letters and 10 numbers and I just want to load it up and use it as a font.

So I tried to get into detailed steps and tried to export the font from the console and it would give a write error.
Even when I tried importing the font, it would tell me that the it "couldn't create character data for <myfontname>"

Am I missing something?

#1
05/29/2009 (7:39 am)
If you get it working I'd be very interested in the details. Custom font isn't high on my priority list but it's definitely something I'd like to do to add atmosphere to my game.