How to make a bitmap font

Ok, first, get Codehead’s bitmap font generator:

And open the program.

Now, i’ll work with Ubuntu Mono Bold. You will first set the image size to 256x256, cell size 16x16, and because i use a mono font, i’ll not use Anti-Aliasing:

The font doesn’t look too good:

So we will now set the Font height (from the bottom settings) to a number that fits it, and the Start Character has to be 0 (zero) for the font to work right:

and make the spaces not too big, so the font will look all right, if they don’t do. (at mine it looks good, so i will not change it)

And now, we save the .dat file:

and the .bmp:

and put them in the font folder, and overwrite the other ones, and you are done!

Now, in most cases, the font bmp needs to be .png with transparency… to do that, i mostly put two negative colours at the font bmp:

and save it as bmp.

Now, i use Photoshop, so this is how i do it:

and save it.

Now you are done, put the .dat you made before and the .png you made now in the font folder, and rename them corespondly, or overwrite the other ones.

Here is how it looks like in a game (ER in example)

nice. thank you :)

nice. thank you :)

I was asked to do one, and i made one, well, mostly because i had some free time xD :)

then how to add in source? :) there are two font the Georgia and textdefault already in the source, but i need another one. do you know how?

then how to add in source? :) there are two font the Georgia and textdefault already in the source, but i need another one. do you know how?

umm… no, i know that texdefault is the default text used in chat, menu, items and others, the georgia font is used for the chat bubbles, and Georgia Bold, idk what for o.O

yap, thank you again for this. i already change my game font.

yap, thank you again for this. i already change my game font.

No problem ^^

Nice tutorial, it’s relatively easy to follow and informative. Good job.

Nice tutorial, it’s relatively easy to follow and informative. Good job.

Yeah, mostly i made my tutorials with a text and images, so it’s easy even for a kid to follow it. :)

HI thanx for tut , how to add Polish font? ĄŚĆŻ

HI thanx for tut , how to add Polish font? ĄŚĆŻ

i don’t know how, never tried that… only english standart font bitmap.

Can u try? i have problem :<

Can u try? i have problem :<

Wait, there are already in the bitmap, why don’t you try pressing the same keys in game, andsee if they can be seen?

i try change language game because I do not go to the DX8: <

i try change language game because I do not go to the DX8: <

how to change game language o.O this fonts, are mostly used at Dx8, you should change, because Dx8 supports .png transparency

I try change letter on bubblechat

Anyone know what kind of font that is immediately in the engine?

Anyone know what kind of font that is immediately in the engine?

yuo meant what font is the engine using? and if that’s it, go to this site and load your picture.

Hot damn, that’s sexy.

I’ll get right on doing my own one ;D

Wow. I never thought it’d be that easy… Thanks for the tutorial!

Log in to reply