O'Reilly logo

Cocos2d-x Game Development Essentials by Gareth Jones, Arutosh Gurung, Frahaan Hussain

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

This chapter covered how Cocos2d-x handles motion through the accelerometer support. However, it wasn't implemented within the game. This chapter serves as a good foundation for implementing it within the game to move the space pod using motions such as tilting the device. The next chapter will cover how to solve some of the common problems you might face when using Cocos2d-x and where to go from there.

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