2013年7月31日星期三

windows environment to build Cocos2d

 

recently finally have time to make trouble satisfying their own things, Oh, it began to be a mobile game to play with kids.

 

must first develop a framework for the selected mobile terminal open source game framework seemingly small, this also asking many, the name simple Cocos2d-X, is Cocos2d domestic branches, buy a book, probably sweep look, framework supports IOS and Android, should meet the requirements, now began to engage!

 In fact, the development of Android

in linux better, but a business trip, do not bother to install the mirror and then the next, and on the use of existing Windows virtual machine right now to Cocos2d-X development environment set up process is simple record, and share with everyone.

 

Step 1

 

install windows. . . Install Oracle JDK. . . Installing Eclipse. . . Also omitted NK.

 

Step 2

 

install CDT, Cygwin

 

CDT is a C / C + + Development Tooling,

 

Click Eclipse-"help-" marketplace, search CDT, can be installed

 

 

cygwin is a windows platform running on unix simulation environment, brothers can http://www.cygwin.com/ Download the installation, with particular attention to the must install make Oh! specifically how loaded, you can search the Internet under.

 

Step 3

 

install ADT, Android SDK and NDK, these things are for Google Android developers must.

 

 

Here we must pay attention, the best online installation, download and install again in the fast, do not be under the offline package, easy to go wrong, remember!

 

Step 4

 

course, is to go to http://cocos2d.cocoachina.com/ Download Cocos2d-X's latest installation package, extract the installation! OK!

 

above is the basic process, but if you can get a full, then you should be very lucky. But the middle is sure to encounter problems, there are problems do not be afraid, we work together to solve!

 

In the following years, I will occasionally put some FAQ record, lest they make detours, thank you!

 

没有评论:

发表评论