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版本。通过全面的Cocos2d-x特性和简洁优雅的javascript友好的利用程序接口,该框架可让你的游戏具有跨阅读器和平台的能力。
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版本开始,Cocos2d-JS为所有平台打造了了1种全新的工作流,它为任何1个你想分发的平台包括网络和本地提供了1个1致的开发模式。“1次编码,多处运行”在Cocos2d-JS这里显得非常容易温柔理成章。通过简单的JS基石,你开发的游戏可以很容易运行各系统,比如PC真个Mac,
windows,移动真个IOS和Android的阅读器和本地平台。在几近所有的渠道分发能给你游戏带来巨大的机会。另外,如果你仅仅是感兴趣于web真个游戏开发,你可以直接下载和援用精简版的(Lite Version)Cocos2d-JS版本在你的web页面中,这类方式是相当简单和轻量级的。
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能让你在写代码,测试,发布开发环节上非常轻松,同时,通过编辑器支持,资源管理器,对象池和JS和OC/JAVA的映照关系等新酷的特性让Cocos2d-JS显得异常强大。
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).
跨平台者开发可通过Cocos 控制台,可建立项目,并使用web 版本引擎在开发中,同时部署游戏在本地平台和阅读器上面。
web游戏开发者可以像使用别的web框架1样(比如JQ)下载精简版本的Cocos-Js开发。
Startup
New features and API changes in version 3.x:
Facebook support for Cocos2d-JS
Advanced topics
Tutorials