[SDL] Fonts

Started by
3 comments, last by yckx 15 years, 9 months ago
I've heard of using True Type fonts with SDL, but how can I get a custom Bitmap font in a game?
Advertisement
Clicky
I once used this tutorial to create my own bitmap font functionality.

Assuming you are also using C++:
I created a class CFont that loads the bitmap and parses it. In my graphics class CGraphics I created a function to render strings using the font. I'll post my code if you want, it's not extremely complicated.
Thanks!
BMFont might be of use to you. <aside>Based on my typing, I'm drunker than I thought.</aside>

This topic is closed to new replies.

Advertisement