- Cocos2d Cross-Platform Game Development Cookbook(Second Edition)
- Siddharth Shekar
- 54字
- 2021-07-16 09:43:43
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