• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,521 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0283 秒)

161. web版发布后,在浏览器运行报错 提示找不到 btCollisionObject_create [ 93%]

...ned (reading 'btCollisionObject_create')     at pi._onAdded (laya.d3.min.js:1:600219)     at xr._addComponentInstance (laya.core.min.js:1:250112)     at xr.addComponent (laya.core.min.js:1:251056)     at Mi._createComponentInstance (laya.d3.min.js:1:818164)     at Mi._createComponentInstan...

来源: Laya_社区 发布时间: 20230401

162. 微信飞机大战报错 [ 93%]

...ebug\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeConnection.js:56:28)     at ChromeDebugAdapter.get chrome [as chrome] (d:\Program\LayaAirIDE_1.7.0\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeDebugAdapter.js:40:38)     at ChromeDe...

来源: Laya_社区 发布时间: 20170416

163. Cannot read property 'call' of undefined [ 93%]

... (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:130:41)    at new GameScene (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/src/GameScene.js:4:19)    at HomePageUI.onGameStart (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/src/HomePage.js:78:27)    ...

来源: Laya_社区 发布时间: 20180709

164. Laya ide 1.83 导出apk 加载场景失败 [ 93%]

...me/browser/ExportJavaFunction alerthttp://stand.alone.version/libs/laya.d3.js:37382: TypeError: Cannot read property 'width' of undefined 05-18 09:55:36.987: I/0(27649): minWidth=Math.min(minWidth,image.width); 05-18 09:55:36.987: I/0(27649):                                    ^ 05...

来源: Laya_社区 发布时间: 20190518

165. LayaFlash下如何进行项目适配? [ 93%]

...Laya提供的方法Laya.window.innerWidth和Laya.window.innerHeight //[IF-JS]方法的使用请参考:LayaFlash宏编译//转换成h5项目后获取浏览器的宽度 //[IF-JS]sourceWidth = Laya.window.innerWidth; //转换成h5项目后获取浏览器的高度 //[IF-JS]sourceHeight = Laya.window.i...

来源: Laya_社区 发布时间: 20151028

166. Particle2D destroy黑屏 [ 93%]

... no buffer is bound to enabled attribute __proto.renderSubmit @ laya.webgl.js:7418 __proto.submitElement @ laya.webgl.js:5943 __proto.flush @ laya.webgl.js:5965 __proto.flush @ laya.core.js:5987 __proto.render @ laya.core.js:18644 __proto._loop @ laya.core.js:18570 loop @ laya.core.js:5447   重新...

来源: Laya_社区 发布时间: 20181123

167. TypeError: Laya.MovieClip is not a constructor [ 93%]

...();     报错: TypeError: Laya.MovieClip is not a constructor preload.js:55 at XLoadUIScript.32.XLoadUIScript._init (file:///D:/1MiniGame/mini-game-client/minigame1/bin/js/bundle.js:3001:18)   at XLoadUIScript.32.XLoadUIScript.onStart (file:///D:/1MiniGame/mini-game-client/minigame1/bin/js/bun...

来源: Laya_社区 发布时间: 20190114

168. 释放资源Cannot read property '_getSource' of undefined重新加载会容易报错 [ 93%]

...not read property '_getSource' of undefined at we._uniform_sampler2D (game.js:34:223996) at t.uploadShaderUniforms (game.js:28:446232) at we.uploadUniforms (game.js:34:224675) at Ut._render (game.js:34:338289) at Yt._render (game.js:34:363882) at rr._renderScene (game.js:34:402140) at Rt.render (gam...

来源: Laya_社区 发布时间: 20200625

169. 动态加载代码后,总是出现 ProgressBar is not a constructor [ 93%]

...载代码后,总是出现 ProgressBar is not a constructor //动态加载js文件--my.js function loadJs(jspath,defer = true) { //得到html的头部dom // var theHead = document.getElementsByTagName('head').item(0); var theHead = document.getElementsByTagName('body').item(0); //创建脚本的dom...

来源: Laya_社区 发布时间: 20180316

170. 关于分包的问题,是否是编译器bug? [ 93%]

...分包配置确认无误 如果代码中这样写: var module:Module = __JS__("new modules.LoginModule()"); module.run(); 编译后login.js里是空的,所有module都只有一个入口样函数,运行时当然就是报错,找不到定义,内容如下: (function(window,document,Laya){ va...

来源: Laya_社区 发布时间: 20170209