Cocos2d-html5 alpha released
We are happy to announce that Cocos2d-html5 alpha is released!
This is the first version of Cocos2d-html5. Most of functionality and test cases from Cocos2d-X are implemented in Cocos2d-html5. Currently, Cocos2d-html5 utilizes canvas for rendering, the API is almost the same as Cocos2d-X and Cocos2d-iPhone. High level API will be wrapped in next phase, which will offer nicer interface for Javascript programmers and will also be compatible with the javascript binding of Cocos2d-x & Cocos2d-iPhone.
Cocos2d-html5 has two menu implementations. One is DOM menu, and the other one is canvas menu. DOM menu will run more efficiently, but the drawback is that all menu items will always above the canvas.
Test cases has being tested and works as expected on- Chrome 16 & 18,
- Safari 5.1,
- IE 9 & 10
- Firefox 12.0.
You can download the zipball and start from Getting Started with Cocos2d-html5.
But I think you are as lazy as me. So I prepare the deployed test case on this website from this wiki page .
RUN COCOS2D-HTML5 TEST CASES NOW
You can click and play with them here, with the pre-condition that your browser supports html5
We have not conducted detailed tests on mobile web browsers, as we are currently focusing on desktop environment. The mobile part is the job of javascript binding of cocos2d-x and cocos2d-iphone, that should run in native way.
We want to hear your valuable feed back in order to make Cocos2d-html5 better, please join the discussion on our Cocos2d-html5 subforum:
http://www.cocos2d-x.org/projects/cocos2d-x/boards/19
Download link:
http://cocos2d-x.googlecode.com/files/cocos2d-html5-v0.5.0-alpha.zip
You are welcome to browse through and fork the code on github:
https://github.com/cocos2d/cocos2d-html5
Comments
congratulation!
Well done!!!
Can wait to get the js-binding working.
Thank you.
This is great news ever!
Is this build supposed to be running on iOS device as well ?
Only part I have low frame rate is particle effect, i got around 20-30 on my iPad 2 device.
Hey guys, I would like to know as well what's the difference between cocos2d-javascript (http://cocos2d-javascript.org/) and cocos2d-html5?
Nice , But Please add some more tutorials including video tuts :)