Cocos2d-X development of Chinese chess "2" project file overview, cocos2d-x "2"

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.