O'Reilly logo

Building Android Games with Cocos2d-x by Raydelto Hernandez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating bitmap font labels

So far we have seen how easy it is to create labels by using TrueType and system fonts, now we will perform some extra steps in order to achieve a more professional style for our labels. As mentioned before, bitmap fonts are the most common kinds of labels used in professional games.

As its name suggests, bitmap fonts are generated by the images that represent each character, which will allow us to draw any font that we want, but it will have all the disadvantages of bitmap, such as the risk of our label getting pixelated, the lack of flexibility when handling the different sizes, and extra space on the disk and RAM for handling these kinds of fonts.

There are several applications that you can use for creating bitmap ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required