Cocos2d-X development of Chinese chess "2" project file overview, cocos2d-x "2"
I 've introduced the function of chess in my previous blog, and I'll show you how to use Cocos2d-X to develop Chinese chess step by step.
Project directory:
Classes: stores public code
Proj. android: used to develop Cocos2d-X game on Android
Proj. win32: used to develop Cocos2d-X games on Windows
Resource: stores game resources.
Classes directory:
AppDelegate. h/AppDelegate. cpp: sets game attributes.
AppMacros. h: Save some macros used in the game
SceneStart. h/SceneStart. cpp: Implementation start scenario
SceneGame. h/SceneGame. cpp: Implements game scenes and functions.
Stone. h/Stone. cpp: sets the attributes of pawns.
Resource Directory: Game Resources
Http://download.csdn.net/detail/u010105970/8133081 Resources
Proj. win32 Directory:
The files in proj. win32 are all files used to develop Cocos2d-X under Windows, I compiled this program in advance, so the directory has a Debug. win32 and a Release. win32
Use VS2012 to open ChineseChess. sln to compile Chinese chess
Zookeeper