O'Reilly logo

Cocos2d Cross-Platform Game Development Cookbook - Second Edition by Siddharth Shekar

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

Glyph Designer

Glyph designer is an application that can be used to make fonts that can be used in a game. However, don't we already have CCLabel for this? That is true. But what CCLabel does is it takes the font from the system, converts the font files into an image at runtime, and then displays it onscreen. So, whenever the score needs to be incremented, the system will need to convert the font into an image and then display that onto the screen.

Although you can use system fonts, for bigger games it is better to use a Bitmap font, in which the letters and numbers are already converted to images rather than converting them every time. So, with Glyph Designer, we can create a Bitmap font and use it to make the game more optimized.

Bitmap fonts ...

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