上QQ阅读APP看书,第一时间看更新
Chapter 1. Sprites and Animations
The topics covered in this chapter are as follows:
- Downloading and installing Cocos2d
- The 2D coordinate system
- Getting access to MainScene
- Adding sprites to scenes
- Creating a sprite using RenderTexture
- Creating a custom sprite class
- Animating sprites
- Adding actions to sprites
- Drawing glPrimitives
- Adding the parallax effect