A 3D Font maker for the 3D Rad game engine, using the Pygame 2D game engine
Overview.
The RadFontMaker allows you use any truetype font, and generate a TextPrint font for 3D Rad.
The program automatically generates the texture and icon files and prepares the the .x files for your use.
Usage:
Copy the .ttf font that you wish to generate into the RadFontMaker/truetypes folder
Edit the RadFontMaker.ini file, and insert the .ttf name and size
The name must be the full name of the font eg. Distant_galaxy_2.ttf and must be on the 1st line
The 2nd line must contain the size of the font. The default size of 40 works for most fonts
Because truetype fonts can vary in size, you can play around with the size value till you get a font size that works for you.
Once you have entered the font and size, simply run RadFontMaker.exe
A screen will display showing what the font looks like at the size you specified.
If the size is not right, simply press the ESC key to cancel the build
If all looks ok to you, press the ENTER key, and the font will be generated automatically
If the font you made was using a font named myfont.ttf then..
Copy the font folder for example: RadFontMaker/radfonts/myfont to the
... 3D Rad\3DRad_res\objects\TextPrint\data folder
Also copy the RadFontMaker/radfonts/myfont.jpg file to the
... 3D Rad\3DRad_res\objects\TextPrint\index folder, so you can see the font in theeditor
Hints:
1.. Try to keep the size of the fonts looking about the same size, that's what the size in the RadFontMaker.ini file is there for. You can always make the font larger or smaller in the 3D Rad editor.
2.. If a font name has a space on it, first copy it to the RadFontMaker/truetyprfonts, then rename the file to remove the spaces.. as the spaces can cause a problem with the conversion process.
Happy fonting
Edit: I have compacted the full runtime into the exe file to unclutter the RadFontMaker folder, and have uploaded the change.
Overview.
The RadFontMaker allows you use any truetype font, and generate a TextPrint font for 3D Rad.
The program automatically generates the texture and icon files and prepares the the .x files for your use.
Usage:
Copy the .ttf font that you wish to generate into the RadFontMaker/truetypes folder
Edit the RadFontMaker.ini file, and insert the .ttf name and size
The name must be the full name of the font eg. Distant_galaxy_2.ttf and must be on the 1st line
The 2nd line must contain the size of the font. The default size of 40 works for most fonts
Because truetype fonts can vary in size, you can play around with the size value till you get a font size that works for you.
Once you have entered the font and size, simply run RadFontMaker.exe
A screen will display showing what the font looks like at the size you specified.
If the size is not right, simply press the ESC key to cancel the build
If all looks ok to you, press the ENTER key, and the font will be generated automatically
If the font you made was using a font named myfont.ttf then..
Copy the font folder for example: RadFontMaker/radfonts/myfont to the
... 3D Rad\3DRad_res\objects\TextPrint\data folder
Also copy the RadFontMaker/radfonts/myfont.jpg file to the
... 3D Rad\3DRad_res\objects\TextPrint\index folder, so you can see the font in theeditor
Hints:
1.. Try to keep the size of the fonts looking about the same size, that's what the size in the RadFontMaker.ini file is there for. You can always make the font larger or smaller in the 3D Rad editor.
2.. If a font name has a space on it, first copy it to the RadFontMaker/truetyprfonts, then rename the file to remove the spaces.. as the spaces can cause a problem with the conversion process.
Happy fonting
Edit: I have compacted the full runtime into the exe file to unclutter the RadFontMaker folder, and have uploaded the change.