Developers Manual > Cocos2d-JS > Release Notes and Upgrade Guides for Cocos2d-JS > Release Notes for Cocos2d-JS v30alpha2

Cocos2d-JS v3.0 alpha2

Cocos2d-JS is Cocos2d-x engine's javascript version which include Cocos2d-html5 and Cocos2d-x JSBinding. It support full Cocos2d-x features with a set of simplified javascript friendly APIs.

Cocos2d-JS provides a consistent development experience for whichever platform you want to distribute to, both web and native. "Code once, run everywhere" is incredibly easy and natural in Cocos2d-JS. With one single javascript code base, you can run your game on both web browsers and native platform including Mac OS, Windows, iOS, Android. This will bring your game great opportunities in almost all canals of distribution.

Furthermore, javascript friendly API makes your game development experience a breeze, easy to code, test and distribute. Cocos2d-JS also offers Cocos Console, a script tool, to simplify the creation of projects and let you start coding right away. You can use it to create a new project and publish it to android, iOS, Mac OS or web.

For more informations please see Cocos2d-JS github site

Download

Highlights

  • [Alpha2 Feature] Provided a download page for web developers to choose modules and download customized Cocos2d-JS web engine, in one single file, compressed or not, Online link.
  • [Alpha2 Feature] Supported new operator for engine classes, constructor started to accept the same parameters as create functions, and developer can pass initilization parameters in ctor while extend engine classes, document reference.
  • [Alpha2 Feature] Added Cocos Console support to test cases and Moon Warriors game sample.
  • Provided a console tool which make the development of HTML5 and JSB application much simpler and more convenient, Cocos Console document.
  • Incredibly simplified game creation process via cc.game which replaced old cc.Application, cc.game document.
  • Refactored some properties of all rendering classes with getter setter for providing a new set of Javascript user friendly APIs, and provided attr function for cc.Node to modify multiple properties, property APIs document.
  • Added new event manager to Cocos2d-JS, all events are dispatched via cc.eventManager with several types of event listener including custom event listener, event manager document.

More information

Read more about all the new features at Cocos2d-JS v3.0 alpha2 changelog and Cocos2d-JS v3.0 alpha2 upgrade guide

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