prepare to see http://www.cnblogs.com/xiaocao-ly/p/4109284.html (Must SEE)First, installation
1. Download Cocos2d-js engine
Address:Http://cn.cocos2d-x.org/download
2. Unzip to the specified directory and open the entryAndcmd to run setup.py, (you can directly drag it into the DOS window to run, or the CD to run in the current directory) 3, observe the results of the operation, midway without stopping and error-free, the success * * , set the environment variable of the COCOS2D (this step if completed can be new, personal suggestions ignored, a bit strange)look at the environment variables you can see the environment variables added at installation are in the user variable, as follows:installing cocos2d is to copy it into the environment system variable, create the same variable in the system environment variable, and add the variable in path second, the new project:1. Run in cmd: Cocos new hello-l js-d Project save path --helllo: Project name——-L: followed by the language (JS is JavaScript)Upon completion2, run the project, need to have Web services, into the installation apace
From for notes (Wiz)
2, Cocos2d-js engine installation and new