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

大约有 713 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0044 秒)

141. Laya.loader.load 加载场景报错 [ 93%]

...oader.load 加载场景报错 Laya.loader.load( 模型url, Laya.Handler.create(this, function(){ this.scene = Laya.loader.getRes(模型url); Laya.stage.addChild(this.scene); }),null, null, 1, true, "scene1"); 执行后,浏览器报 : laya.core.js:13290 Uncaught TypeError: node._setParent is not ...

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

142. 飞机大战源码发微信小游戏提示VM122:1 gameThirdScriptError [ 93%]

...r window.focus is not a function TypeError: window.focus is not a function at Function.t.__init__ (http://127.0.0.1:62307/game/code.js:1881:1176) at Object.Laya.init (http://127.0.0.1:62307/game/code.js:150:34) at new t (http://127.0.0.1:62307/game/code.js:227:575) at http://127.0.0.1:62307/game/cod...

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

143. debugtool调试报错了 [ 93%]

...错了 Uncaught TypeError: sprite._getBoundPointsM is not a function     at Function.showDisBound (laya.debugtool.js:3365)     at dhtmlXTreeObject.<anonymous> (laya.debugtool.js:4840)     at dhtmlXTreeObject.e.callEvent (eval at init (laya.debugtool.js:4050), <anonymous>:1:9630)  ...

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

144. Laya.loader.create 报错, 升级2.0.2后 游戏卡顿 [ 93%]

Laya.loader.create 报错, 升级2.0.2后 游戏卡顿 1. loader.create  这个接口 能否支持不创建3Dscene对象, 或者新扩展一个接口  只下载对应的3D资源. 不创建3DScene, 因为 当网络异常的时候资源会下载失败,但是底层还是会创建3D对象, 底层一...

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

145. 发布项目“是否压缩混淆js(耗时)”的bug [ 93%]

...误: E:\new_work\uglify>uglifyjs code.js > code.min.js Parse error at code.js:107395,26             for(var cType of arr)                           ^ ERROR: Unexpected token name «of», expected punc «;»     at JS_Parse_Error.get (eval at <anonymous> (C:\Users\f...

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

146. macOS系统运行layaair-cmd resourceVersion报错 [ 93%]

... throw errnoException(err, 'spawn');     ^   Error: spawn EACCES     at _errnoException (util.js:1022:11)     at ChildProcess.spawn (internal/child_process.js:323:11)     at exports.spawn (child_process.js:502:9)     at Object.<anonymous> (/usr/local/lib/node_modules/layaair-cmd/lay...

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

147. LayaAir IDE 2.2.0beta2版本2d粒子不能用了,LayaAir IDE 2.1.0版本正常 [ 93%]

...了,LayaAir IDE 2.1.0版本正常 Uncaught TypeError: Failed to execute 'attachShader' on 'WebGL2RenderingContext': parameter 2 is not of type 'WebGLShader'.     at ParticleShader._compile (libs/laya.core.js:2554)     at ParticleShader.recreateResource (libs/laya.core.js:2529)     at new Shade...

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

148. 微信开发工具编译报错 [ 93%]

...发工具编译报错 IDE里创建微信小游戏2d示例, 然后加入 matter.js 功能。 PC的 chrome运行没问题, 但是发布到微信开发工具里后编译报错。 麻烦看看怎么回事? VM168:1 gameThirdScriptError Cannot read property 'events' of undefined TypeError: Cannot re...

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

149. 用模块器报错,真机不会有这个问题,具体看补充 [ 93%]

...che capacity to 128KB I/art: Do partial code cache collection, code=56KB, data=40KB I/art: After code cache collection, code=53KB, data=39KB I/art: Increasing code cache capacity to 256KB W/System: ClassLoader referenced unknown path: /data/app/com.layademo-1/lib/x86           [ 02-16 02:37:06....

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

150. 请问下现在Laya支持接入百度开放域吗 [ 93%]

...dapter.js:243 Uncaught TypeError: swan.getSystemInfoSync is not a function at Object.../../../Laya2.0Project/MiniDemo/release/bdgame/openContext/weapp-adapter.js.Object.defineProperty.value (weapp-adapter.js:243) at __webpack_require__ (weapp-adapter.js:20) at Object.../../../Laya2.0Project/MiniDemo...

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