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

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.

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