Most Cocos2D implementations let you manipulate the size, scale, position, and other effects of the sprite. They can be chained and composed together to form more complex animations. The sprites can be moved, rotated, scaled, have their image changed, etc.Ĭocos2D provides basic animation primitives that can work on sprites using a set of actions and timers. Sprites can be manipulated in code based on events or actions or as part of animations. In Cocos2D, sprites are arranged together to form a scene, like a game level or a menu. A sprite can be thought of as a simple 2D image, but can also be a container for other sprites.
All versions of Cocos2d work using the basic primitive known as a sprite.