【版本发布】Cocos2d-x v3.3正式发布!

1.项目的编译时间和电脑性能有关,XCode会快点,VS应该是会在10分钟以内。几个G我不确定有这么大,但是你可以看下是哪些文件,中间文件吧?

2.python cocos.py new test -p com.coco2dx.org -l cpp -d ~/Desktop在 V3.X就废弃了,现在请使用Cocos new命令。

具体请见:http://www.cocoachina.com/bbs/read.php?tid-271282.html

3.改变内容的文档在引擎目录CHANGELOG和docs/RELEASE_NOTES.md

不熟悉 android,踩了个坑。游戏的名字是数字开头导致的。

现在又遇到一个新问题,用 cocos run -p android 已经可以正常运行。

在 eclipse 里,能编译、安装,运行就挂。 unable to solve superclass of Lorg/cocos2dx/cpp/AppActivity

在项目属性 -> android, 里面没有红X啊。不过 src 下面只有 org.cocos2dx.cpp

eclipse要导入2个项目,一个是你的项目,一个是libcocos2dx。

请问 在mac os 下 怎么运行tests项目?
没找到工程文件啊

build目录下

打开cocos2d_tests.xcodeproj

请问为什么不能创建项目了

没有找到模板路径。

截图一下引擎目录下templates文件夹内容

android 用ndk R10C 编译报错。换R9D就没问题。什么情况?

v3.3吗?

r10c的报错信息是什么?

这个帖子:http://www.cocoachina.com/bbs/read.php?tid-237712.html

子龙已回复。

版主有没有3.3在mac下如何搭建的教程,打算进入cocos2dx

报个Bug,3.3Final中CPP代码中调整了键盘按键的枚举(EventKeyboard::KeyCode),但是Lua中的常量(cocos2d-x-3.3\cocos\scripting\lua-bindings\script\cocos2d\Cocos2dConstants.lua)没有修改,坑了我一个晚上!

置顶帖就是了。

抱歉,对您造成了困扰,此bug已修复,十分感谢您的反馈。

https://github.com/cocos2d/cocos2d-x/pull/9531

版主你好,有时间帮忙看看这个帖子的问题吗
http://www.cocoachina.com/bbs/read.php?tid=277615

报个bug

auto a = MenuItemFont::create(“A”);
a->setFontNameObj(“fonts/disneyjuniorg.ttf”);
a->setFontSizeObj(200);
a->setPosition(200,200);

ios 平台上 MenuItemFont 设置字体无效,windows 平台确认可以,请确认此问题,谢谢!

Cocos2dx3.3 AudioEngine 在android上偶尔无声音

用3.3新的声音引擎接口:AudioEngine::play2d ,在安卓上播放音效,开始是有声音的,有时候突然就没有声音了,log如下:

12-23 12:58:49.335: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.343: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.343: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.343: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.343: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.343: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.343: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.343: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.343: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.343: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.367: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.367: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.367: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.367: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.367: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.367: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.367: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.367: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.367: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.367: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.406: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.406: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.406: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.406: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.406: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.406: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.406: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.406: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.406: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.406: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.429: D/cocos2d-x debug info(16563): int cocos2d::experimental::AudioEngineImpl::play2d(const string&, bool, float),243 message:create player for GetGold.mp3 fail

请问是怎么回事?谢谢!!

模块化:由C++链接器自动减小包大小,简化至只有2个库,一个是C++,一个是Lua。
怎么设置的呢?没有找到相关文档。。。。

环境:Mac XCode 6.1
平台:iOS
引擎版本:Cocos2d-x 3.3

HelloWorld:

代码和你一致。
切换字体Arial和Marker Felt,正常
切换字体大小和尺寸,正常

请确认字体文件是否正常,是否能找到。