Book Image

Learning iPhone Game Development with Cocos2D 3.0

By : Kirill Muzykov
Book Image

Learning iPhone Game Development with Cocos2D 3.0

By: Kirill Muzykov

Overview of this book

Table of Contents (19 chapters)
Learning iPhone Game Development with Cocos2D 3.0
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 6. Rendering Text

Displaying text in games is almost as important as displaying images and animations. In fact, some time ago many games were purely text-based. We're not going to go hardcore and make the player type "shoot 30 degrees" and get the "you've missed the bird" message as a result, but the game will definitely benefit from adding some text.

In this chapter, we are going to review the following topics:

  • Adding text to the game using True Type font labels

  • Updating labels, text, and performance considerations

  • Creating and using bitmap fonts

  • Using actions to create text effects