Recently, I have finally had time to get started with my own things.
First of all, we must select the development framework, mobile terminal open-source game framework does not look much, to find this, the name of a simple Cocos2d-X, Cocos2d domestic branch, buy a book, after scanning, the Framework supports IOS and Android and should meet the requirements. Now let's get started!
In fact, Android development is better in linux, but I am too reluctant to install the image on a business trip. Use a ready-made Windows virtual machine, now let's take a simple record of the establishment process of the Cocos2d-X development environment and share it with everyone.
Step 1
Install windows... Install Oracle JDK... Install Eclipse... In addition, NK is omitted.
Step 2
Install CDT and Cygwin
CDT is C/C ++ Development Tooling,
Click Eclipse-help-marketplace, search for CDT, and install it.
Cygwin is a unix simulation environment running on a windows platform. You can download and install cygwin at http://www.cygwin.com/. you can search for it on the Internet.
Step 3
Install ADT, Android SDK, and NDK, which are required for Android development by Google.
You must note that it is best to install the package online, and then download and install the package quickly. Do not download the package offline, which is prone to problems. Remember!
Step 4
Of course, go to http://cocos2d.cocoachina.com/download the latest cocos2d-xinstallation package and decompress the installation! OK!
The above is a basic process, but if you can do it all at once, you should be lucky. But there will certainly be problems in the middle. Don't be afraid of any problems. Let's solve them together!
In the following time, I will occasionally record some FAQs to avoid detours. Thank you!