Game Development Community

Can i edit the "t2dImageFontBuilder" code

by Tim Kin Chu · in Torque Game Builder · 07/20/2006 (4:21 am) · 4 replies

I have download this program from
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=8484

, and wantto edit the coding of it.

But when I compile it, it get error of missing "allegro.h " and other kind of .h

#1
07/20/2006 (2:49 pm)
That would be because the image font builder requires the Allegro game programming library to load and store bitmaps. You can download the allegro game programming library at "http://allegro.cc". Note that you do not need the allegro game programming library to execute the image font code, only to rebuild the image font builder.
#3
07/20/2006 (8:27 pm)
I don't know which version of allegro it was compiled with. You will have to search through the headers (or someone else can answer this).
#4
07/24/2006 (1:30 am)
Thanks for help.

But I want to ask is there any exisiting tool to
find the width of a text? As I am not good at C++.

it is terrible to find the font width one by one.....