你的问题记录了的,只是还没时间修改。。
刚才测试JS脚本,碰到一个问题。
假设有一个对象 Parent, 有一个子对象Child, Parent 挂接脚本A, Child挂接脚本B,
编辑器中设置Child.active = true;
在A:onLoad() 中置 Child.active = false;
运行后,B脚本的 onLoad 始终不会回调,即使再置 Child.active = true 也不会.
删了 texture 若 scene 有旧的 dependencies 会报错。 IDE 会卡死。
2017-06-08T09:00:06.261Z - error: TypeError: Cannot read property 'value' of null
at _buildProp (/Users/j/Desktop/1.5.1_beta.4.1/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/inspector/utils/utils.js:1:131)
at _buildProp (/Users/j/Desktop/1.5.1_beta.4.1/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/inspector/utils/utils.js:1:1318)
at _buildComp (/Users/j/Desktop/1.5.1_beta.4.1/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/inspector/utils/utils.js:1:1818)
at Object.buildNode (/Users/j/Desktop/1.5.1_beta.4.1/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/inspector/utils/utils.js:1:2263)
at ui-panel-frame._handleQueryNode (/Users/j/Desktop/1.5.1_beta.4.1/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/inspector/panel/index.js:1:10952)
at eval (/Users/j/Desktop/1.5.1_beta.4.1/CocosCreator.app/Contents/Resources/app.asar/editor/builtin/inspector/panel/index.js:1:10574)
at EventEmitter.<anonymous> (/Users/j/Desktop/1.5.1_beta.4.1/CocosCreator.app/Contents/Resources/app.asar/editor-framework/lib/renderer/ipc.js:1:5795)
at emitMany (events.js:127:13)
at EventEmitter.emit (events.js:201:7)
嗯嗯,没漏掉就行
cc.Button 的 default_btn_normal spriteFrame 修了在 beta.4.1 但 default_btn_pressed 和 default_btn_disabled 还有问题
我也遇到过…如果官方不能结局就只能手动执行onload里面的方法了…
你说的这个问题具体怎么重现?
1)在 script properties 加 cc.SpriteFrame array
2)在 IDE 把 texture 拉进去
3)删掉 texture
4)重开 scene.fire
5)点击绑着 custom component 的 node
旁边的 component panel 就垮了
不是空的,我没把逻辑代码写上去
tmp = {}
tmp.update = function()
{
}
cc.director.getScheduler().schedule(tmp.update, tmp, 1);
是这样写的
1.5.1-beta1都是没报错的
http://forum.cocos.com/t/1-5-1b3-release/47394/4?u=111923
帮忙看下这个问题
安卓打包release时,选择自定义引擎时会卡住,只有选上内置引擎才可以,
mac 下 native下
create 版本为 1.5.1b3
请问这是什么?
2017-06-09T10:26:08.800Z - normal: Introduced global variable while editing: i
2017-06-09T10:26:08.802Z - normal: Introduced global variable while editing: l
2017-06-09T10:29:44.990Z - normal: Compiled project javascript file successfully
6月9日更新 beta.4.2
windows 平台的调试问题已修复,请试一下新版
Cocos Creator v1.5.1-beta.4.1 内测版发布:
v1.5.1-beta.4.2 Mac 下载1
v1.5.1-beta.4.2 Win 下载
这里显示的还是4.1 ----- Cocos Creator v1.5.1-beta.4.1
windows下是对的
快点支持CC_DEBUG吧 生产环境下用的太痛苦了
谢谢反馈,这两个应该是同一个问题,下个版本就会修正

