zilongshanren a27a9b3528 add grid layout and finish all the layout fature
finish none mode of layout

add resize none mode for horizontal and vertical

refactor horizontal layout algorithm

refactoring

add row break logic

make row break working

rename margin to padding

grid layout start axis works

refactoring

finish y axis grid layout

add grid layout resize container feature.

add resize container for grid vertical layout

fix horizontal  layout issue

fix some issues when in grid resize container mode

finish layout feature
2016-01-14 15:54:57 +08:00
2016-01-11 17:52:49 +08:00
2016-01-11 12:18:13 +08:00
2015-12-30 22:18:13 +08:00
2015-12-31 17:47:00 +08:00
2015-12-06 20:02:48 +08:00

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/fireball-x/engine.git
$ cd engine
$ python -m SimpleHTTPServer

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

Contact us

S
Description
No description provided
Readme MIT 366 MiB
Languages
C++ 50.6%
TypeScript 35.2%
JavaScript 4%
C 4%
Objective-C++ 1.7%
Other 4.4%