proton:rtfont
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
proton:rtfont [2012/03/21 03:20] – [How to make a new font] linuxlovelinux99 | proton:rtfont [2012/09/26 22:40] (current) – seth | ||
---|---|---|---|
Line 1: | Line 1: | ||
====Using RTFont==== | ====Using RTFont==== | ||
- | RTFont is class to load and blit bitmapped fonts. | + | RTFont is a class to load and blit bitmapped fonts. |
Example of use: | Example of use: | ||
Line 60: | Line 60: | ||
For the trajan font it needs (located in RTSimpleApp/ | For the trajan font it needs (located in RTSimpleApp/ | ||
* font_trajan.fnt (kerning data and locations of each character in the bmp, output by BMFont) | * font_trajan.fnt (kerning data and locations of each character in the bmp, output by BMFont) | ||
- | * font_trajan_00.png (the bitmap itself, a png with alpha) | + | * font_trajan_00.png (the bitmap itself, a png with alpha)(output by BMFont) |
- | * font_trajan.txt (a text file with directions for RTPack.exe on what file names to load and what color codes should do) | + | * font_trajan.txt (a text file with directions for RTPack.exe on what file names to load and what color codes should do.. you have to make this) |
BMFont is [[http:// | BMFont is [[http:// | ||
- | RTPack.exe can be found in / | + | RTPack.exe can be found in **/ |
The command line to make this font is: | The command line to make this font is: |
proton/rtfont.1332300037.txt.gz · Last modified: 2012/03/21 03:20 by linuxlovelinux99