Game Development Community

Bitmap Fonts

by Gellyware · in Torque Game Builder · 01/19/2008 (3:32 pm) · 4 replies

Can anyone point me in the right direction getting Bitmap Fonts into TGB?

Any links, examples, code...... appreciated!

#1
01/20/2008 (4:58 pm)
There is a resource in the resources section, but it's pretty old and may not work with the latest version of TGB.

Have you tried my font helper resource on TDN? It will let you use image fonts and uses the builtin font system. Some fonts may not look the greatest using this method, but I am able to add things like shadows and multiple colors to my fonts using it.
#2
01/21/2008 (1:00 am)
I tried the 'fontboy' if that's yours? However it doesn't seem to show up in v1.6.

I've been working all day on developing a library for the now free, FontText bitmap font creator. The basic functionality works (and works great at that) and now I'm working on an animation system for it.

I'd still like to try out your resource but I can't get it to work because I do not have a "game/resources" folder. I've tried dropping all of the files in the

C:\Program Files\GarageGames\TorqueGameBuilder-1.6\tgb\resources

folder... however that doesn't do anything. Any suggestions?
#3
01/21/2008 (6:55 pm)
There should be a "resources" folder in the same directory as your "game" directory, and that's where it should go. The same place any engine or art resources would be.

The best parts about fontboy are that it uses the font cache system and code already existing in the engine to do all the font rendering, and it's integrated into the editor for you. It basically automates the method described by the developers of Puzzle Poker to make their game fonts. Still, if you spent time writing another library that could be better to use..both font boy, and TGB TextObjects themselves do have limitations...
#4
01/26/2008 (4:03 pm)
In 1.6 and 1.5, the path is "Where product's installed/tgb/resources". There's a "game" directory in 1.1 and 1.3, but after that the folder's called "tgb".