发布于 2014-12-31 00:32:10 | 347 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Cocos2d-JS 开源2D游戏框架

Cocos2d-JS 是一个开源的 2D 游戏框架,包含 Cocos2d-html5 和 Cocos2d-x 的 JavaScript Bindings,支持跨平台和基于浏览器以及原生应用。你可以完全使用 JavaScript 来编写游戏,完全兼容 Cocos2d-html5 和 Cocos2d-x JavaScript Bindings. Cocos2d-html5 可以很顺畅的在支持 HTML5 的浏览器上运行。


Cocos2d-JS 3.2 发布了,该版本值得关注的改进内容包括:

  • 分离渲染逻辑重构 Web 引擎,目前已经完成架构级别的重构,带来非常好的性能提升,特别是在移动浏览器上

  • 重构 Web 引擎的分辨率适配和音频引擎的 polyfilled 适配逻辑,带来更好的兼容性和可扩展性

  • 支持和 JSB 模块化

  • 增加重启游戏的特性和修复 AssetsManager 严重 bug,可轻松更新资源和脚本

  • Bound all missed chipmunk API in JSB, this greatly improved physics game support in Cocos2d-JS.

Canvas 渲染模型性能测试

注意

使用 JSB 构建有如下限制:

  • [Android build] 建议 NDK 版本 r10c, 如果你无需兼容 Android 5.0,则可使用 r9d,其他 NDK 不支持

  • [iOS build] Xcode 版本必须是 5.1.1 +

  • [Web code obfuscation] JRE 或者 JDK 版本必须是 1.6 or 1.7

下载

工作流

  • 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).

更多信息

升级已有项目

  1. Download the Cocos2d-JS v3.2 package.

  2. Upgrade cocos command with setup.py.

  3. Create a new project with cocos new command.

  4. Replace the "src", "res", "index.html", "project.json", "main.js" etc with your old project.

  5. Then you may need to refer to the upgrade guide to solve some API change issues.

关于 Cocos2d 家族

  • Cocos2d-JS v3.2 uses Cocos2d-x v3.3 as base of JSB solution

  • Cocos2d-JS v3.2 is compatible with Cocos Code IDE v1.1.0

  • Cocos2d-JS v3.2 is compatible with Cocos Studio v1.2 - v1.6, Cocos Studio 2 support have been removed because flat buffer binary file can't be parsed in JS, we will support Cocos Studio 2 in v3.3 with a JSON format parser.

其他链接:



历史版本 :
Cocos2d-JS 3.2 发布,开源 2D 游戏框架
Cocos2d-JS v3.0 Final 发布,终于来了!
Cocos2d-JS v3.0 RC3 发布!
Cocos2d-JS v3.0 RC2 发布
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务