Skip to content

cocos2d/cocos2d-html5

Folders and files

NameName
Last commit message
Last commit date
Apr 12, 2018
Apr 13, 2018
Apr 8, 2016
Dec 21, 2012
Mar 18, 2015
Mar 31, 2017
Mar 16, 2015
Aug 22, 2015
Apr 25, 2014
Dec 12, 2017
Dec 18, 2016
Nov 26, 2015
Jan 22, 2017
Jun 10, 2015
Feb 13, 2016
May 22, 2017

Repository files navigation

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