Cocos2d-JS is Cocos2d-x engine's
JavaScript version that includes Cocos2d-html5 and Cocos2d-x JavaScript Bindings. It equips your game with cross-browser and cross-platform abilities, accompanied by full Cocos2d-x features and simplified JavaScript friendly APIs.
Cocos2d-html5和Cocos2d-x JavaScript捆綁在1起組成的Cocos2d-JS是基于Cocos2d-x引擎的JavaScript版本。通過(guò)全面的Cocos2d-x特性和簡(jiǎn)潔優(yōu)雅的javascript友好的利用程序接口,該框架可讓你的游戲具有跨閱讀器和平臺(tái)的能力。
Cocos2d-JS reinvented workflows
for all platforms in v3.0, it provides a consistent development experience for whichever platform you want to distribute to, no matter web and native. "Code once, run everywhere" is incredibly easy and natural in Cocos2d-JS. With one single JavaScript code
base, you can run your game on all web browsers and native platforms including Mac OS, Windows, iOS and Android. This will bring your game great opportunities in almost all channels of distribution. On the other hand, if you are only interested in casual games
on the web, you can embed directly in your web page the Cocos2d-JS Lite Version which is extremely easy to use and light as a feather.
從3.0版本開(kāi)始,Cocos2d-JS為所有平臺(tái)打造了了1種全新的工作流,它為任何1個(gè)你想分發(fā)的平臺(tái)包括網(wǎng)絡(luò)和本地提供了1個(gè)1致的開(kāi)發(fā)模式?!?次編碼,多處運(yùn)行”在Cocos2d-JS這里顯得非常容易溫柔理成章。通過(guò)簡(jiǎn)單的JS基石,你開(kāi)發(fā)的游戲可以很容易運(yùn)行各系統(tǒng),比如PC真?zhèn)€Mac,
windows,移動(dòng)真?zhèn)€IOS和Android的閱讀器和本地平臺(tái)。在幾近所有的渠道分發(fā)能給你游戲帶來(lái)巨大的機(jī)會(huì)。另外,如果你僅僅是感興趣于web真?zhèn)€游戲開(kāi)發(fā),你可以直接下載和援用精簡(jiǎn)版的(Lite Version)Cocos2d-JS版本在你的web頁(yè)面中,這類方式是相當(dāng)簡(jiǎn)單和輕量級(jí)的。
Furthermore, JavaScript friendly APIs make your game development
experience a breeze - easy to code, test and distribute. In the meantime, Cocos2d-JS v3.0 is super powerful along with all these cool new features: Editors Support, Assets Manager, Object Pool, JS to Objective-C/JAVA reflection, etc.
另外,JS人性化的API能讓你在寫(xiě)代碼,測(cè)試,發(fā)布開(kāi)發(fā)環(huán)節(jié)上非常輕松,同時(shí),通過(guò)編輯器支持,資源管理器,對(duì)象池和JS和OC/JAVA的映照關(guān)系等新酷的特性讓Cocos2d-JS顯得異常強(qiáng)大。
Cross platforms developers can use Cocos Console to create projects, boost their development with web version engine and deploy games onto all native platforms and all browsers with Cocos Console.
Casual web game developers can download the Lite Version and start to develop just like using other web frameworks (e.g. jQuery).
跨平臺(tái)者開(kāi)發(fā)可通過(guò)Cocos 控制臺(tái),可建立項(xiàng)目,并使用web 版本引擎在開(kāi)發(fā)中,同時(shí)部署游戲在本地平臺(tái)和閱讀器上面。
web游戲開(kāi)發(fā)者可以像使用別的web框架1樣(比如JQ)下載精簡(jiǎn)版本的Cocos-Js開(kāi)發(fā)。
Startup
New features and API changes in version 3.x:
Facebook support for Cocos2d-JS
Advanced topics
Tutorials