Cocos2d-x Cookbook
上QQ阅读APP看书,第一时间看更新

Chapter 2. Creating Sprites

In this chapter we're going to create sprites, animations, and actions. The following topics will be covered in this chapter:

  • Creating sprites
  • Getting the sprite's position and size
  • Manipulating sprites
  • Creating animations
  • Creating actions
  • Controlling actions
  • Calling functions with actions
  • Easing actions
  • Using a texture atlas
  • Using a batch node
  • Using 3D models
  • Detecting collisions
  • Drawing a shape