This article we will open Cocos2D-X SimpleGame & beginner's tutorial.
We also wrote a series of tutorials on How to port Cocos2dSimpleGame from cocos2d-iphone to cocos2d-x. The article starts from installing and running the Cocos2D-X for the first time, to running Cocos2dxSimpleGame on the iPhone/android/win32/wophone simulator.
You can download the full-text source code at the following address:
Http://github.com/cocos2d/cocos2d-x-samples/
The following is the directory of this tutorial]
- How to create new cocos2d-x projects on multiple mobile platforms
In this section BKJIA will show you how to create a Cocos2d-x multi-platform project, the beginning of your development of Cocos2d-x games.
- How to add a cocos2d-x genie
In this section BKJIA will take you to the characters that create Cocos2d-x games, known as "genie ".
- How to move a cocos2d-x genie
In this section BKJIA will teach you how to move Cocos2d-x game characters.
- How the cocos2d-x fired bullets
With the heroes and enemies of the game, BKJIA will teach you how to launch bullets.
- How to detect collision in cocos2d-x
In this section, BKJIA will show you how to detect collision effects in the game.
- How the cocos2d-x plays music and sound
Next we will add music and sound effects to make the game more vivid.
- Some icing on the cake after cocos2d-x finishes the game
Finally, we will add some icing on the cake.