发布于 2014-09-21 01:02:18 | 412 次阅读 | 评论: 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 v3.3 beta0 发布,此版本现已提供下载,这里并不会介绍所有的新特性,有些特性已经在 v3.3alpha0 发布的时候列举了:
v3.3beta0 主要更新内容如下:
3d: Camera
, 'Reskin', 'Attachment', 'Better support for FBX', 'New fbx-conv', AABB
, OBB
, Ray
和 BillBoard
audio:iOS 和 Android 添加了新的音频
DrawNode:添加了许多像 DrawPrimitive
的函数,弃用 DrawPrimitive
Primitive:支持点,线和三角形的渲染
Renderer:添加了 trianle command
UI:iOS 和 Android 添加了 WebView
cocos2d-x 只有两个库,一个是 c++ 代码,另外一个是 Lua 绑定代码
许多小的改进和 bug 修复
详情请看发行说明。
附上:
v3.3alpha0 主要更新如下:
3d: Camera
, 'Reskin', 'Attachment', 'Better support for FBX', 'New fbx-conv', AABB
, OBB
and Ray
ui: added Scale9Sprite
FileUitls: added isDirectoryExist()
, createDirectory()
, removeDirectory()
, removeFile()
, renameFile()
and getFileSize()
Device: added setKeepScreenOn()
on iOS and Android
Added c++11 random support
RenderTexture: added a call back function for saveToFile()
Primitive: Support Points, Lines and Triagles for rendering
SpriteFrameCache: support loading from plist file content data
Added a consistent way to set GL context attributes for all platforms
Only two libraries in cocos2d-x, one for c++ codes, another one for lua-binding codes
Many other small features added and many bugs fixed