Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
cocos2d for Web Browsers. Built using JavaScript
JavaScript

This branch is 1 commit ahead of develop

Failed to load latest commit information.
cocos2d Fix array delete issue in removeAllChildren
extensions Merge pull request #2874 from pandamicro/develop
external Adding Gaf
licenses fixed #700 add zlib support for cc.TMXXMLParser
template Fixed #2806: remove the test codes.
tools [v3.6] Update engine version
.gitignore Update the ignore list of git.
AUTHORS.txt Updated docs
Base64Images.js Closed #4856: fixed a bug of cc.TMXXMLParser and cc.TMXLayer getTileA…
CCBoot.js
CCDebugger.js Fixed #2742: Use '===' to replace '==' for performance.
CHANGELOG.txt [Cocos2d-JS] v3.6 changelog
README.mdown Merge pull request #2764 from igogo5yo/develop
bower.json change description
jsb_apis.js Issue #5907: Fix API reference issues
moduleConfig.json Adding Gaf

README.mdown

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

Something went wrong with that request. Please try again.