Cocos Creator v2.3.0 测试版发布帖(正式版已发)

用多个球形组件?有个SphereCollider3D组件

原生上的动态合图还没有支持呢

抱歉,现在疫情比较严重,要等复工了

麻烦给个demo我看看

不用改后缀名,就用spine编辑器导出的skel格式就好


什么时候解决下

回原帖回复你了。

加油。记得戴口罩

Uncaught TypeError: Cannot read property ‘default’ of null 遇到这个错误 命名奇妙的。typescipt.。
web和模拟器都有问题。编译成android没问题。

2.2.2版本没问题。

我又看了下,好像是调试的时候,没有加载一部分js未加载,不知道这个是为什么。

问题找到了,但是不知道怎么解决。
quick_compile.js:138 Can not find module.module for path : preview-scripts/assets/scripts/

code:“cc.director.getPhysics3DManager().enabled = true;”
發佈web mobile 後run, cc.director.getPhysics3DManager() 變成 null,想看看是什麼問題呢?謝謝。

你剔除了 3D 物理模块导致的,在模块设置里勾上~

我的这个怎么解决

Simulator: ERROR: Uncaught TypeError: Cannot set property ‘_nativeAsset’ of null, location: src/cocos2d-jsb.js:0:0
STACK:
[0]anonymous@src/cocos2d-jsb.js:38541
[1]anonymous@src/cocos2d-jsb.js:24910
[2]anonymous@src/cocos2d-jsb.js:35171
[3]fireTimeout@jsb-adapter/jsb-builtin.js:2038
[4]tick@jsb-adapter/jsb-builtin.js:2000
[ERROR] (/Users/nantas/fireball-x/cocos2d-x-lite_22/cocos/scripting/js-bindings/jswrapper/v8/Object.cpp, 562): Invoking function (0x7fb55cd37030) failed!
at HTMLElement.print-simulator-log (/Applications/CocosCreator2.2.2.app/Contents/Resources/app.asar/editor/builtin/scene/panel/messages/scene.js:1:1608)
at Object.e._dispatch (/Applications/CocosCreator2.2.2.app/Contents/Resources/app.asar/editor-framework/lib/renderer/panel.js:1:1876)
at EventEmitter. (/Applications/CocosCreator2.2.2.app/Contents/Resources/app.asar/editor-framework/lib/renderer/ipc.js:1:2952)
at EventEmitter.emit (events.js:194:13)
Simulator: ScriptEngine::cleanup begin …
大佬,请问这个是什么问题啊?

game.html?windowId=2:317 game loadScript error: ReferenceError: requirePlugin is not defined
at eval (eval at (http://127.0.0.1:20001/static/dist/public/d54f1be208e5d6e180305886e0cd3a19/game.html?windowId=2:289:25), :9:1)
at He (eval at (http://127.0.0.1:20001/static/dist/public/d54f1be208e5d6e180305886e0cd3a19/game.html?windowId=2:289:25), :1:19662)
at qe (eval at (http://127.0.0.1:20001/static/dist/public/d54f1be208e5d6e180305886e0cd3a19/game.html?windowId=2:289:25), :1:18847)
at eval (eval at (http://127.0.0.1:20001/static/dist/public/d54f1be208e5d6e180305886e0cd3a19/game.html?windowId=2:289:25), :46:1)
at eval ()
at http://127.0.0.1:20001/static/dist/public/d54f1be208e5d6e180305886e0cd3a19/game.html?windowId=2:313:25
at loadScript (http://127.0.0.1:20001/static/dist/public/d54f1be208e5d6e180305886e0cd3a19/game.html?windowId=2:315:22)
at http://127.0.0.1:20001/static/dist/public/d54f1be208e5d6e180305886e0cd3a19/game.html?windowId=2:299:17
at http://127.0.0.1:20001/static/dist/public/d54f1be208e5d6e180305886e0cd3a19/game.html?windowId=2:314:37
at loadScript (http://127.0.0.1:20001/static/dist/public/d54f1be208e5d6e180305886e0cd3a19/game.html?windowId=2:315:22)
at http://127.0.0.1:20001/static/dist/public/d54f1be208e5d6e180305886e0cd3a19/game.html?windowId=2:298:13

引擎分离报错 v.2.3.0-rc3版本 --头条模拟器

目前引擎分离只支持微信

原来这种主题都是公告类的,这次不是,找了半天

这个碰撞有回调函数吗?没有2.3.0API不知道上哪去找

你这应该是ts转js后,它会转成 let mod = require( '路径' ).default; 像这样的语句
写一段script把它转回来就好
例如…

//假设你是这样引入的
import { defulat as mod1 } from './mymodule1/index';
//那你就在下面写一段
module.exports['mod1'] = require( './mymodule1/index' );

ps. 其实你自已编译ts成js,看它的最终输出,再来修改会较准确

您好。。。。这边采用的TP打包预乘 + one设置。但是。。。。one模式设置透明度 异常

有个bug想吐槽一下,就是动画编辑器添加帧事件,有时帧事件面板会变空,然后这个空的帧事件不能移动不能删除。

在论坛也找到了解决办法:把json数据手动删除一下。

但是刚刚我删除了帧事件的数据,再从原来的位置添加帧事件,点进面板_bug复现_!

然后我实在没办法删掉了这个动画文件重新添加了一个同名的动画文件,再从原来的位置添加帧事件,bug再次重现

最后无论我重开编辑器还是如何,都不能解决。我想说这个bug不能再凑合了,就这样重做动画要浪费很多时间啊