3 ms·
And there are Javascript native bindings for Cocos2D, so you can run the same source code in different platforms (desktop, mobile, html5) taking advantage of ea
by wslh 14y ago
And there are Javascript native bindings for Cocos2D, so you can run the same source code in different platforms (desktop, mobile, html5) taking advantage of each one (like GPU performance on iPhone). Link: https://github.com/zynga/jsbindings#readme https://github.com/zynga/jsbindings#readme
Another HTML5 demo: http://www.cocos2d-iphone.org/t/js-tests/tests/ http://www.cocos2d-iphone.org/t/js-tests/tests/
- phoboslab 14y agoYou can also use a native framework like Ejecta[1] or CocoonJS[2] to run any HTML5/Canvas game with good performance. (Disclaimer: I'm the author of Ejecta) [1] http://impactjs.com/ejecta/ http://impactjs.com/ejecta/ [2] http://www.ludei.com/tech/cocoonjs http://www.ludei.com/tech/cocoonjs
- wslh 14y agoBut we are talking about something different for the case of Cocos2D:Ricardo Quesada (Cocos2D owner) has made specific GPU optimizations for the framework himself on iOS.