Cocos Creator v1.4.0 内测版发布帖(2月10日更新 rc.3)

spine报了个错:

这个版本有编辑器内集成图片国际化解决方案么?

cc.systemEvent.on(cc.SystemEvent.EventType.KEY_UP,
function (event){
//停止前进
if(event.keyCode != cc.KEY.k){
self._playerTankCtrl.tankMoveStop();
}
}, this);

5 里面 这样后 模拟器 闪退

这个问题在beta.5还是没有修复,1.3.3是没有问题的。@jare

1.4b5 手机上的 音效 貌似不是 很对 延迟很严重…1.3.3b1倒还好

已经以插件形式提供: http://forum.cocos.com/t/i18n/42573

1赞

我看下,谢谢

说好的1.4集成热更新功能呢?跳票了?

好像说是的mac上 编辑器的热更新吧?

:+1::+1::+1::+1::+1::+1: +1

12月26日更新 beta.6

websocket 的 wss:// 不支持 已用 examples 里的 netctrl 测过了

v1.33版本setAnimationListener正常使用,1.4.0beta5和6版本用不了啊

1.4.0 beta.6,Windows平台。编译脚本时报了下面两个错误:



文字版:

// 1:
Compiled project javascript file successfully
  TypeError: Cannot read property 'trimRight' of null
at e.value (C:\CocosCreator\resources\app.asar\editor\page\scene-utils\source-maps.js:1:6164)
at C:\CocosCreator\resources\app.asar\editor\page\scene-utils\source-maps.js:1:3663
at C:\CocosCreator\resources\app.asar\node_modules\async\lib\async.js:380:13
at C:\CocosCreator\resources\app.asar\node_modules\async\lib\async.js:52:16
at C:\CocosCreator\resources\app.asar\node_modules\async\lib\async.js:269:32
at C:\CocosCreator\resources\app.asar\node_modules\async\lib\async.js:44:16
at C:\CocosCreator\resources\app.asar\node_modules\async\lib\async.js:377:17
at C:\CocosCreator\resources\app.asar\editor\page\scene-utils\source-maps.js:1:3180
at C:\CocosCreator\resources\app.asar\node_modules\async\lib\async.js:52:16
at C:\CocosCreator\resources\app.asar\node_modules\async\lib\async.js:361:13

// 2:
Compiled project javascript file successfully
  Error: No element indexed by 1
at ArraySet_at [as at] (C:\CocosCreator\resources\app.asar\node_modules\source-map\lib\array-set.js:91:11)
at SourceMapConsumer_originalPositionFor [as originalPositionFor] (C:\CocosCreator\resources\app.asar\node_modules\source-map\lib\source-map-consumer.js:618:36)
at C:\CocosCreator\resources\app.asar\editor\page\refine-sourcemap.js:1:1299
at Array.forEach (native)
at SourceMapConsumer_eachMapping [as eachMapping] (C:\CocosCreator\resources\app.asar\node_modules\source-map\lib\source-map-consumer.js:155:16)
at merge (C:\CocosCreator\resources\app.asar\editor\page\refine-sourcemap.js:1:1167)
at Stream.refineSourceMap (C:\CocosCreator\resources\app.asar\editor\page\refine-sourcemap.js:1:2284)
at Stream.stream.write (C:\CocosCreator\resources\app.asar\node_modules\through\index.js:26:11)
at write (C:\CocosCreator\resources\app.asar\node_modules\vinyl-buffer\node_modules\readable-stream\lib\_stream_readable.js:623:24)
at flow (C:\CocosCreator\resources\app.asar\node_modules\vinyl-buffer\node_modules\readable-stream\lib\_stream_readable.js:632:7)
at C:\CocosCreator\resources\app.asar\editor\core\compiler.js:1:1064
at C:\CocosCreator\resources\app.asar\editor\core\compiler.js:1:508
at BrowserWindow.<anonymous> (C:\CocosCreator\resources\app.asar\editor\core\compiler.js:1:2087)
at BrowserWindow.g (events.js:286:16)
at emitOne (events.js:101:20)
at BrowserWindow.emit (events.js:188:7)  

跟主窗口一起启动的这个小窗口是干什么用的?

1.4.0 beta6的bug
附上代码:
if (arr[1] && arr[1].active) {
node.runAction(cc.rotateBy(0.3, 360));
cc.log(“数组-”,arr.length);
cc.log(arr[2]);
for (let i = 1; i < arr.length - 2; i++) {
cc.log(“数组”,i);
cc.log(arr[2]);
// cc.log(arr[i]);
// arr[i].runAction(cc.moveTo(0.3,cc.p(5,5)));
}
cc.log(“数组5”);
cc.log(arr[i]);
// arr[arr.length - 2].runAction(cc.moveTo(0.3, node.x, node.y - 130));
cc.log(“数组2”);
}

对象到for循环内就访问不到了?????帮忙检查下是不是引擎bug

1.4.0b6保存任何场景都报错(1.4.0b5不会报错):

我这里都可以,应该是你自己的问题,javascript的Array本来就不一定是连续的,要用如下代码遍历:
for(var i in arr){
var yourNode = arr[i];
}

beta.6还是没有修复,现在想把B节点变成A的子节点,只能给A先添加一个临时节点C,把B拖到C上变成C的兄弟节点,再把C删掉。。。

多谢反馈,B7 会修复