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

Chapter 6. Implementing Actions

This chapter will cover the actions that allow the modification of node properties, for example, rotating a sprite or moving a menu item.

Note

The contents of this chapter will not be used for the game being developed through the course of this book, but it's important to have an understanding of these features.

As a personal task, you can figure out how to implement the actions from this chapter to enhance the game's experience. Here is a start: rotate the asteroids as they move. This chapter can be thought of as a general-purpose reference guide with no additional dependencies, but the features that are learned could be implemented as a separate task in the game to make it more interesting.

The topics covered in this ...

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