Book Image

Building Android Games with Cocos2d-x

By : Raydelto Hernandez
Book Image

Building Android Games with Cocos2d-x

By: Raydelto Hernandez

Overview of this book

Table of Contents (16 chapters)
Building Android Games with Cocos2d-x
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we have seen how to add text to our games by using the TrueType fonts, system fonts and bitmap fonts, as well as how to add effects to those. Label creation is very straightforward; you just need to call its creation static method, and after you have added those to the scene, you can position those on the screen, just like you positioned the sprites on the screen.

In the next chapter, we will cover the new audio engine that was written from scratch on the Version 3 for substituting the traditional CocosDenshion audio engine that was bundled with the engine since its predecessor cocos2d for iPhone.