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 use the particle systems to simulate realistic fire, explosions, rain, and snow in our game, how to customize them, and how to create them from scratch. We have also seen how to use the Vector class bundled with the Cocos2d-x API for creating collections of the Cocos2d-x objects.

In next chapter, we will show you how to add the Android native code to our game by using Java Native Interface (JNI).

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