leda

Results 15 issues of leda

既然 root 可以应对两种情况,使用 attach 是否没有必要?使用 root 的优势时,可以避免一个非 C++ 单例类,但是绑定出的 JS 类,被作为一个单例使用,`__nativeRefs` 不断增长,func 无法被释放。 ### 文档: - https://docs.cocos.com/creator/manual/zh/advanced-topics/jsb/JSB2.0-learning.html#如何绑定-cpp-接口中的回调函数? ``` // 如果当前 SomeClass 是可以被 new 出来的类,我们 使用 se::Object::attachObject 把 jsFunc 和 jsTarget...

相关信息 1. 论坛讨论 http://forum.cocos.com/t/cocos-android-activity-andriod-activuty/57422 2. 有这种情景,在 4.4 闪退,5.x,6.x,正常运行,在注释掉 ![image](https://user-images.githubusercontent.com/26329291/43312612-6b3de576-91c0-11e8-9473-4b0a6f1be387.png) 问题解决,上面一段代码是为了解决什么 bug 引入的,这可能是副作用

2.0 还需要这两个接口吗 接口在 `cocos/scripting/js-bindings/manual/jsb_cocos2dx_extension_manual.cpp`

甚至持续 2-3s http://forum.cocos.com/t/cocos-ios/56599/10

开发者反馈 > 发现了个小bug,Cocos2dxVideoView.java的 mMetaUpdated 在重新setVideoURI的时候没有重置为false, 导致VideoPlayer不能复用,即如果想使用VideoPlayer播放A视频后播放B视频,在js监听不到B视频的READY_TO_PLAY事件,建议在setVideoURI的时候,重置 mMetaUpdated 属性

目前的逻辑,在 creator 构建面板,构建特定平台时(比如 mac 平台),会把其它平台的构建文件夹一起拷贝过去(比如 android, 这时 android 的构建文件夹也存在于工程目录,但是处于不可用的状态)。 这可能会造成误解,用户看到有 proj.android-studio 的文件夹,用 AS 打开,却报错。因为构建其它平台时,没有对 android 的工程进行处理。

## What's Widget Widget is a frequently used UI layout component. It can make the current node automatically align to an optional position of the parent object ...... ![widget component](https://user-images.githubusercontent.com/26329291/38285987-80a058d8-37f5-11e8-8ef5-27c3574bedc9.png)...

on creator 1.9.x, checkmark and background is brother node, so we need remove both on older version, checkmark is the child node of background, so only remove parent is ok...