发布于 2014-12-15 23:52:02 | 593 次阅读 | 评论: 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
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
Added ClippingRectangeNode
, which is more efficient for rectangle clipping
Renderer: added triangle command
Cocos Studio Reader: use Flat Buffer
for data format
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
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
Added Application::openURL()
Added WebView
on iOS and Android
Added ui::Scale9Sprite
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.
Facebook SDK integrated in plugin
on iOS and Android
Updated Spine runtime to v2.0.18
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
我们还创建了一个 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小时轮转所有的缺陷都被迅速发现并修复。