Cocos2D is a powerful library for game development, which saves a lot of time by handling trivial things while building your game. Common things that are regularly needed for game development, such as direction, sprite, cool graphical effects, animations, physics libraries, sound engines, and a lot more are already provided by libraries and APIs.
Cocos2D organizes game development like the making of a movie where you are made to sit in the director's chair. For example, you will have a scene for the startup menu of the game, another for the main game, and then another for the game over scene with options that concludes the playing episode. You have to literally use the
Director class to create a director object, which drives the whole application forward.
All the basic tasks, such as starting the game, pausing the game, and creating various scenes are handled by Cocos2D.
Inside the scenes, you can have a number of layers that contain nodes such as sprites, labels, menus, and more. These...