Fonts in games
Hi!
Do games like Halflife, AOE and other professional games use the Windows GDI to create fonts and print out text? Or do they provide their own font functions?
-Thanks
Real programmers don't document, if it was hard to write it should be hard to understand
GDI would be much too slow.
It''s not very hard to create own font routines.
I have drawn all chars in a texture and then simply display two polygons that use the font tex to display a char.
Adressing a specific char in a tex should also not be that complicated since every char has an ascii value.
Hope this helps![](smile.gif)
Ciao!
![](http://www.moonbyte.de/img/home/roppi2.jpg)
Have a look at our game "Crashday" at www.moonbyte.de
It''s not very hard to create own font routines.
I have drawn all chars in a texture and then simply display two polygons that use the font tex to display a char.
Adressing a specific char in a tex should also not be that complicated since every char has an ascii value.
Hope this helps
![](smile.gif)
Ciao!
![](http://www.moonbyte.de/img/home/roppi2.jpg)
Have a look at our game "Crashday" at www.moonbyte.de
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement