mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 00:22:43 +08:00
2a471bae7b68b782768c3a9b5e07633449e11908
Squashed commit of the following: commit 8fcc4f4d116372072959d4c8a6192247d953d0ae Author: zilongshanren <guanghui8827@126.com> Date: Mon Dec 28 21:51:25 2015 +0800 refactor button and scrollview to use new event. commit f3c1bc2153c85ee913a3a674c8f418087384146d Author: zilongshanren <guanghui8827@126.com> Date: Mon Dec 28 17:04:06 2015 +0800 fix touch move out and in, button state is wrong. commit 57ad4c7d887b879a1f71281798347057652decff Merge: 7b3fe787c6f572Author: zilongshanren <guanghui8827@126.com> Date: Mon Dec 28 15:39:03 2015 +0800 Merge remote-tracking branch 'fireball/v0.7' into fixButtonClickEvent commit 7b3fe785dee943abfcfdc04ad5c228b4247bbd2f Author: zilongshanren <guanghui8827@126.com> Date: Mon Dec 28 15:38:24 2015 +0800 remove self emit touch event commit c1afba5131e3f3735ca236fdb693a72cff52ba4b Merge: 6939b6645e877aAuthor: zilongshanren <guanghui8827@126.com> Date: Mon Dec 28 11:44:59 2015 +0800 Merge remote-tracking branch 'fireball/v0.7' into fixButtonClickEvent commit 6939b66f6c2bbe4de1adc26b81613ddd40828b6e Author: zilongshanren <guanghui8827@126.com> Date: Mon Dec 28 11:44:28 2015 +0800 fix typo
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.4%
TypeScript
35.3%
JavaScript
4%
C
4%
Objective-C++
1.8%
Other
4.4%