发布于 2014-12-15 23:52:02 | 580 次阅读 | 评论: 0 | 来源: 网友投递

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

Cocos2d-x

Cocos2d-x是一个开源的移动2D游戏框架,MIT许可证下发布的。这是一个C++ Cocos2d-iPhone项目的版本。Cocos2d-X发展的重点是围绕Cocos2d跨平台,Cocos2d-x提供的框架。手机游戏,可以写在C++或者Lua中,使用API是Cocos2d-iPhone完全兼容。Cocos2d-x项目可以很容易地建立和运行在iOS,Android,黑莓Blackberry等操作系统中。


Cocos2d-x 3.3 final 发布,我们建议你使用 NDK r10c 或者更新版本,因为它修复了 Android 5.0 的一些 bug。

下载地址:cocos2d-x 3.3

3.3 版本值得关注的改进:

Size

  • Modularization: automatically reduce the size by c++ linker, and simply to only 2 libraries in cocos2d-x, one for c++, another for Lua

Take lua-empty-test as example:

  • libluaemptytest.so is 9.5M in v3.2

  • libluaemptytest.so is 5.5M in v3.3

Performance

  • Added ClippingRectangeNode, which is more efficient for rectangle clipping

  • Renderer: added triangle command

  • Cocos Studio Reader: use Flat Buffer for data format

Usability

  • Added a consistent way to set GL context attributes for all platforms

  • Node: schedule/unschedule with lambda function

  • Added c++11 random support in cocos2d::random(a,b)

  • RenderTexture: add a callback function for saveToFile()`

  • DrawNode: added as many functions as DrawPrimitive, while DrawPrimitive is deprecated

  • add setKeepScreenOn() on iOS and Android

Enhancements

Infrastructure

  • Added new audio engine on iOS and Android

  • Added AssetsManagerEx for hot-updates

  • Tilemap: supported staggered tile map

  • Primitive: Support Points, Lines, and Triangles for rendering

  • SpriteFrameCache: support loading from plist file content data

UI

  • Added Application::openURL()

  • Added WebView on iOS and Android

  • Added ui::Scale9Sprite

3D

  • 3D light: directional light, point light, spot light and ambient light

  • BillBoard

  • Camera

  • Reskin

  • Attachment

  • Better support for FBX, and new fbx-conv

  • AABB, OBB and Ray

Following gif is the effect of Light. You can run cpp-tests to check other modules' effect.

3rd party libraries

  • Facebook SDK integrated in plugin on iOS and Android

  • Updated Spine runtime to v2.0.18

Platforms

  • Android: Support Android ARM 64 bit, tested on Nexus 9

  • WP8:

    • add win8.1 univeral app support

    • update to Visual Studio 2013 with update 3 to use Cocos2dShaderCompiler

Documentation

3D sample

我们还创建了一个 3D 实例:FantasyWarrior3D, 用来演示如何通过 cocos2d-x 开发 3d 应用。

The game runs smoothly on old Android phone with single core 1G HZ CPU.

2.2.6 版本只要是增加 64 位 iOS 支持,下载地址:http://www.cocos2d-x.org/filedown/cocos2d-x-2.2.6.zip

Cocos2D-X是全球知名的开源跨平台游戏引擎,易学易用,目前已经支持iOS、Android、Windows桌面、Mac OSX、Linux、BlackBerry、Windows Phone等平台。Cocos2d-JS统一了使用JS进行开发的开发体验,将HTML5引擎与JSB的API高度统一起来。 捕鱼达人HTML5版本基于此引擎实现对浏览器的支持,并获得谷歌Web Store 首页置顶推荐。引擎配套有活跃的社区支持,已有来自Google、Zynga、Microsoft、Intel、Samsung、BlackBerry等 跨国公司的优秀工程师为引擎贡献代码,开源社区24小时轮转所有的缺陷都被迅速发现并修复。



历史版本 :
Cocos2d-x 3.14 发布,C++ 游戏开发引擎
Cocos2d-x v3.8 beta0 发布
cocos2d-x-3.7.1 发布,C++ 游戏开发引擎
Cocos2d-x v3.4 Final 发布,支持 Frustum Culling
cocos2d-x-2.2.6 分支更新 Cocos JSCompile
Cocos2d-x 3.3/2.2.6 发布,更多 3D 特性支持
Cocos 2d-x 游戏引擎全面支持 Facebook 平台
Cocos2d-x v3.3-RC0 发布说明!
cocos2d-x v3.3 beta0 发布
两大开源游戏引擎Cocos2d-x及OGEngine对比分析
Cocos2d-x 3.2.0 正式版发布,新增集成开发环境
Cocos2d-x v.2.2.5 发布,手机游戏引擎
最新网友评论  共有(0)条评论 发布评论 返回顶部

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