网络是,100M光纤,内网
1.7.0rc.1还是会报there is no texture bound to the unit 0 这个错误,昨天我试了。
打包android的api等级需要26以上,使用第三方的安装包安装apk提示安装包损坏。使用cocoscreator安装,部分手机安装后打不开,如红米
这个一般是游戏本身的问题。计时器的 pause 状态是节点共享的,暂停状态必须匹配。
谢谢反馈,这个应该已经修复了。不过为了安全起见,我一会重新上传一次 mac 版本看看。
这个是你的使用问题啊。触发了c++层的断言。
一般这种情况会出现:
如果你第一次调用
cc.scheduler.schedule(func, target, interval, repeat, delay, paused); paused 为true
接着又调用
cc.scheduler.schedule(func, target, interval, repeat, delay, paused);, paused为false
那么就会触发这个断言。
你可以通过 cc.scheduler.isTargetPaused(target) 方法确认下当前的target的pause情况,然后根据返回值传paused的值。
JS null 如果需要转为 C++的nullptr,那么JS的undefined呢?是否也需要转为c++的nullptr?
多谢,我会自查代码
是做了这样的个接口replaceAttachmentImage(spriteframe|null),来替换attachment的image,之前是用null表示清空的。1.7行为变了,我一定要调整接口么?
怎么调用的toString?贴一点代码吧。
嗯,我在1.6绑定代码中看到了这样的逻辑:
js_proxy_t *proxy = jsb_get_js_proxy(cx, obj);
cocos2d::Label* cobj = (cocos2d::Label *)(proxy ? proxy->ptr : nullptr);
也就是说,如果js对象在c++中没有找到对应的关联值,则返回nullptr给c++。
这个我看看怎么改吧。
哪个平台?
应该这样 nListener.toString()
谷歌浏览器,web上的结果。

safari的结果:

JSB结果与浏览器一致。你先看看toString的文档再说吧。也不对比一下web的行为。。。。
好吧, 我理解有误~
OK~
没有,那个不是 bug,已回复
为什么不是nListener.toString()呢?