mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
ee024d428eca21a97e1005e5de92304f1a3f7797
Squashed commit of the following: commit 34fea7fd4ea962f041ebadf4a5b17b3710a1fa02 Author: zilongshanren <guanghui8827@126.com> Date: Fri Dec 18 14:47:00 2015 +0800 finish scrollview feature commit 373eff672e4f81b79951cd583fc63865c76a0093 Author: zilongshanren <guanghui8827@126.com> Date: Fri Dec 18 14:34:49 2015 +0800 fix float point compare issue commit 4701cea8b488ae169407fca5be203d9a5e5fcccc Author: zilongshanren <guanghui8827@126.com> Date: Fri Dec 18 10:56:09 2015 +0800 fix component naming commit 20f86a505aa09630b0bdf2ad6bdf4287777951aa Merge: 279d2fc3c6522eAuthor: zilongshanren <guanghui8827@126.com> Date: Fri Dec 18 10:55:23 2015 +0800 Merge branch 'master' into addScrollView commit 279d2fc1143f6ec473e2ccfcaecc86a50087e033 Author: zilongshanren <guanghui8827@126.com> Date: Fri Dec 18 10:40:32 2015 +0800 make elastic work commit ed5c3cdb600bdc3d998280ab7e50d2703b50ed71 Author: zilongshanren <guanghui8827@126.com> Date: Fri Dec 18 10:11:00 2015 +0800 fix bouncing issue commit 8a1d3be8aff624597592954a58ce3b48c289c9f9 Author: zilongshanren <guanghui8827@126.com> Date: Thu Dec 17 15:26:57 2015 +0800 make brake factor working commit 7e3099de4aad72fbf60d3930e9e4337b1c5af828 Author: zilongshanren <guanghui8827@126.com> Date: Thu Dec 17 14:56:21 2015 +0800 make scrollview inertia scroll working commit 3c3b29935e1dcdcd9eb2f96637ce168ec35a4ac1 Author: zilongshanren <guanghui8827@126.com> Date: Thu Dec 17 14:31:51 2015 +0800 fix convertToWorldSpace commit 9d58b715f56f010a84e6903962169eea6d450d00 Author: zilongshanren <guanghui8827@126.com> Date: Thu Dec 17 11:18:51 2015 +0800 add inertia scroll skeleton commit 1523775943394139e723f9f7fdca4ad89a49cc70 Author: zilongshanren <guanghui8827@126.com> Date: Thu Dec 17 10:48:14 2015 +0800 add a few scrollview variables commit c5231fa52e580d80bd47de60133242cd5c9f0901 Author: zilongshanren <guanghui8827@126.com> Date: Thu Dec 17 10:08:23 2015 +0800 finish scrollbar auto hide commit 8c79eb33c0a2e25c108c3e03c90c1343469659ea Author: zilongshanren <guanghui8827@126.com> Date: Thu Dec 17 09:44:03 2015 +0800 fix toggle scrollbar commit b6a24f82ee1ec4e391adf0e5ecc8c3d0477682d6 Author: zilongshanren <guanghui8827@126.com> Date: Thu Dec 17 09:34:46 2015 +0800 finish scroll bar position commit ba1dab366e94020bddcb0f3b4243c574ff60afa7 Author: zilongshanren <guanghui8827@126.com> Date: Wed Dec 16 20:22:23 2015 +0800 fix convert to node space issue commit e596d37aedb963bfd0f21f383d12f7c828c6c2bf Author: zilongshanren <guanghui8827@126.com> Date: Wed Dec 16 17:54:26 2015 +0800 fuck commit 3b238be9d0e72a6414e3c578190ed6722dee9899 Author: zilongshanren <guanghui8827@126.com> Date: Wed Dec 16 16:42:05 2015 +0800 make handle's position correct commit e7c21508d1a08c0df761cf945e8d9714391e6f6b Merge: a8825173f58254Author: zilongshanren <guanghui8827@126.com> Date: Wed Dec 16 10:52:02 2015 +0800 Merge remote-tracking branch 'origin/master' into addScrollView commit a882517765f5fae042cfde472202c22e0cc09416 Author: zilongshanren <guanghui8827@126.com> Date: Wed Dec 16 10:51:33 2015 +0800 update scrollview commit 90af1f848509325d317f0df0edb203697a9c04e5 Author: zilongshanren <guanghui8827@126.com> Date: Tue Dec 15 21:17:27 2015 +0800 make horizontal and vertical move work commit b5274cb9248e6eebf29e0ba8ceb3e96cb2d7f483 Author: zilongshanren <guanghui8827@126.com> Date: Tue Dec 15 20:57:00 2015 +0800 update scrollbar commit 43ae08aed730588303fe41857def7d51aea890e6 Author: zilongshanren <guanghui8827@126.com> Date: Tue Dec 15 16:26:50 2015 +0800 add scrollbar skeleton commit 6a4c1a39eeabad06f871a32f77d442f4fcd9b487 Merge: 1184415306f66aAuthor: zilongshanren <guanghui8827@126.com> Date: Mon Dec 14 20:42:05 2015 +0800 Merge branch 'master' into addScrollView commit 1184415480d1b08c589365c6ba919b438a760aa5 Author: zilongshanren <guanghui8827@126.com> Date: Mon Dec 14 20:01:18 2015 +0800 add touch event handler commit 510eba29001073b8c1215d50ae12f3e6d2bc37d6 Merge: d0e44ade89a6f7Author: zilongshanren <guanghui8827@126.com> Date: Mon Dec 14 17:55:27 2015 +0800 Merge branch 'master' into addScrollView commit d0e44ad90740706fa34480a3c8228fd1250c0c74 Author: zilongshanren <guanghui8827@126.com> Date: Fri Dec 11 18:22:23 2015 +0800 add scrollbar components commit 8a812def219517d6daab857e997084f7e0bea878 Author: zilongshanren <guanghui8827@126.com> Date: Fri Dec 11 17:48:42 2015 +0800 add scrollview skeleton
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.7%
TypeScript
35.1%
JavaScript
4%
C
4%
Objective-C++
1.7%
Other
4.4%