Download Cocos2d-js:http://www.cocos2d-x.org/download
Unzip and copy to c:/
Download jdk:http://www.oracle.com/technetwork/java/javase/downloads/index.html
Install
Download sdk:http://developer.android.com/sdk/index.html
Install
Download ndk:http://developer.android.com/tools/sdk/ndk/index.html
Unzip and copy to c:/
Download Python 2 release:https://www.python.org/downloads/windows/
Install
Download ANT. zip:https://ant.apache.org/bindownload.cgi
Unzip and copy to c:/
File explorer>right Click "This PC" >properties>advanced system settings>environment variables...> System variables>new ...
EXAMPLE
variable:value
ANDROID_ Sdk_root:c:\program Files (x86) \android\android-sdk
ant_home:c:\ APACHE-ANT-1.9.3
ndk_root:c:\android-ndk-r9d
"Edit ..." the variable "Path"
Add "; C:\Cocos2d-JS-v3.0-alpha\tools\cocos2d-console\bin "to the end of the variable value of the variable" Path "
Double Click on the file:
C:\Cocos2d-JS-v3.0-alpha\setup.py
open cmd.exe as administrator
type "CD C:\Cocos2d-JS-v3.0-alpha\tools\ Cocos2d-console\bin "and press ENTER
type" cocos.py new Mygame-p Com.company.mygame-l js-d c:/mygame "and press ENTER
To test in Browser:
Open Cmd.exe as Administrator
Type "CD C:/mygame/mygame" and press Enter
Type "cocos.py run-p web
Thanks for the help, now I can start re-coding my project from version 2!
App.js the beginning of the document
Resource.js pre-loaded resources.