Summary

Text is a very important component almost in any game. Especially, as you can see when we say text, we don't necessarily mean black and white strict text. Using a bitmap font, we can create cool-looking fonts while still generating generic text on the fly.

In addition to learning how to render text, we've seen that labels are not very different from sprites or other Cocos2D nodes. They have same properties, such as scale, rotation, and opacity. You can manipulate the labels using actions and create cool effects.

In the next chapter, we're going to talk about how to liven up the game using more animations and particle systems.

Get Learning iPhone Game Development with Cocos2D 3.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.