Developers Manual > Cocos Code IDE

Cocos Code IDE


This product page covers the key features of Cocos Code IDE.
Cocos Code IDE is the complete toolkit for developing, debugging, publishing cocos2d-x Lua & JavaScript games. It can work together with Cocos2d-x v3.x, Cocos2d-js v3.x and higher versions.


Cocos Code IDE can only work together with Cocos2d-x 3.x and Cocos2d-js 3.x engines.

For Microsoft Windows users, please firstly check your java version by command java -version in your console. It will output like this.

    java version "1.6.0_65" 
    Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609) 
    Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode) 

You can know if your Java is 32-Bit or 64-Bit from this output, then download corresponding version of IDE. If you haven't installed java, please download and install JDK first.
For Mac users, we only provide 64-Bit for now.

**Cocos Code IDE compatible with Cocos2d-x: **

**Cocos Code IDE compatible with Cocos2d-x: **

IDE\Cocos2d-x 3.2 Final 3.3 rc0 3.3 rc1 3.3 final 3.4
1.1.0 x
1.0.2 x x
1.0.1 x x x
1.0.0-Final x x x
1.0.0-RC2 x x x x

**Cocos Code IDE compatible with Cocos2d-js: **

IDE\Cocos2d-x 3.0 Final 3.1 Final 3.2 rc0 3.3
1.1.0 x
1.0.2 x x
1.0.1 x x
1.0.0-Final x x
1.0.0-RC2 x x x

Please download right version form Cocos Download page.


Basic Requirements:

  • [Windows users] Install Python 2.7.x. Mac OS X users can skip this step because the operating system has integrated Python 2.7.
  • Don't put IDE in a directory that the path include non-English characters

Additional Requirements:

  • For debugging on iOS simulator, please make sure iOS simulator has been installed.
  • For debugging on android device through USB cable, please make sure Android SDK has been installed.
  • If you want to customize a runtime, you need compilation tools for your target platform:

    Target Platform Tools
    Mac OS X/iOS XCode 5.1 or above
    Windows VS2012 or above
    Android Android SDK, NDK (**R9D version**), ANT

Developing your existing game by Code IDE

If your game is using Cocos2d-x 3.x or Cocos2d-js 3.x, you can easily include IDE into the process. All you need to do is:

  • New a Cocos Lua/JavaScript project
  • Replace the the resouces and Lua/JavaScipt by your own

How to Use

cocos-code-splash.png (18.3 kB), 2014-10-24 02:06

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.