mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-04 18:42:40 +08:00
e9287d3037bdd8c82f910d539c76797748f65856
Squashed commit of the following:
commit d10bd73f87fae6ba39858e190921155475ede586
Merge: b174d7c 2ed54b8
Author: zilongshanren <guanghui8827@126.com>
Date: Mon Dec 21 17:44:25 2015 +0800
Merge remote-tracking branch 'fireball/master' into fixScrollView
commit b174d7cd36fffccf78659b4018940d03da5a6587
Author: zilongshanren <guanghui8827@126.com>
Date: Mon Dec 21 17:20:53 2015 +0800
fix content size smaller than scrollvie size
commit 8a3ff65f1d2f0e1a6a569a037b7fad1ec9e235e8
Author: zilongshanren <guanghui8827@126.com>
Date: Mon Dec 21 16:24:45 2015 +0800
add new brake logic
commit 84da9372a148caa7fd6518f3d12f5fe191454729
Author: zilongshanren <guanghui8827@126.com>
Date: Mon Dec 21 15:05:08 2015 +0800
renaming the properties
commit f3c40a8e7ad6e6097bf07399201ac82e8d5fa72b
Author: zilongshanren <guanghui8827@126.com>
Date: Mon Dec 21 14:21:38 2015 +0800
fix scrollbar positioning
commit d3eb25ddd34a6634737804f55b65e355c003938b
Author: zilongshanren <guanghui8827@126.com>
Date: Mon Dec 21 13:54:05 2015 +0800
fix scrollview doesn't respect to content anchor.
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
- Website: www.cocos2d-x.org
- API References: [http://www.cocos2d-x.org/wiki/Reference] 4
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
- Forum: http://forum.cocos2d-x.org
- Twitter: http://www.twitter.com/cocos2dhtml5
- Sina Microblog: http://t.sina.com.cn/cocos2dhtml5
Languages
C++
50.3%
TypeScript
35.4%
JavaScript
4%
C
4%
Objective-C++
1.8%
Other
4.4%