cocos2d-html5

Cocos2d-html5 is a cross-platform 2D game engine written in Javascript, based on Cocos2d-X and licensed under MIT. It incorporates the same high level api as “Cocos2d JS-binding engine” and compatible with Cocos2d-X. It currently supports canvas and WebGL renderering.


Keywords
cocos2d-x, cocos2d, game, engine, opengl, cross, multi, platform, iphone, ipad, android, windows, metro, bada, marmalade, playbook
License
MIT
Install
bower install cocos2d-html5

Documentation

Cocos2d-html5

Cocos2d-html5 is a cross-platform 2D game engine written in JavaScript, based on Cocos2d-X and licensed under MIT. It incorporates the same high level api as “Cocos2d JS-binding engine” and compatible with Cocos2d-X. It currently supports canvas and WebGL renderer.

Cross Platform

  • Popular browsers: Chrome 14+, Safari 5.0+, IE9+, Firefox 3.5+.
  • Mobile platforms: coming soon.
  • Native App: Same piece of code can run on "Cocos2d JS-Binding Engine" without or with little modification.

Documentation

Installing from bower (version >=3.4)

$ bower install cocos2d-html5

Running the tests (version <3)

$ git clone git://github.com/cocos2d/cocos2d-html5.git
$ cd cocos2d-html5
$ git submodule update --init
$ python -m SimpleHTTPServer

... and then open a browser and go to http://localhost:8000/tests

Contact us