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

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

31. Oppo加载.ls资源错误 [ 88%]

Oppo加载.ls资源错误 Laya.loader.create("res/scenes/LayaScene_game/game.ls", Laya.Handler.create(this, () => { let gameScene = Laya.loader.getRes("res/scenes/LayaScene_game/game.ls") as Laya.Scene; Laya.stage.addChild(gameScene); }, null), Laya.Handler.create(this, (progress) => { consol...

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

32. 如何访问微信game.js的变量? [ 88%]

如何访问微信game.js的变量? 很多代码跟逻辑要在进入Laya之前就确定.以便我确定如何初始化. 我想实现game.js跟 Laya.init之前的代码互相访问. 于是我尝试用了window["xxx"]或者global之类的去做.但是,模拟器是对的.ios真机提示找不到windo...

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

33. laya编译无报错,微信开发者工具报错 [ 88%]

laya编译无报错,微信开发者工具报错 VM185:1 gameThirdScriptError Maximum call stack size exceeded RangeError: Maximum call stack size exceeded     at loadProgress (http://127.0.0.1:24481/game/li ... 224:34)     at Handler.runWith (http://127.0.0.1:24481/game/li ... 850:38)     a...

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

34. 3d场景下载出错 [ 88%]

...,但是底层还是会创建3D对象, 底层一定会报错  {"message":"gameThirdScriptError Cannot read property '_addReference' of undefined;at api request success callback function TypeError: Cannot read property '_addReference' of undefined     at t.<anonymous> (https://usr/game.js:49:...

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

35. 声音播放问题 [ 88%]

声音播放问题 07-13 16:19:07.464 1648-1711/com.mylafe.game.handsomecat I/LayaBox: JCAudioManager::stopMp3 07-13 16:19:07.464 1648-1711/com.mylafe.game.handsomecat E/LayaBox: >>>>>>>>>>>>>>>>>>>>>>>>>>>>classNam...

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

36. 微信小游戏中音乐播放报错 [ 87%]

微信小游戏中音乐播放报错 gameThirdScriptError Invalid value used as weak map key;at audioContext.oncanplay callback function TypeError: Invalid value used as weak map key at WeakMap.set (native) at e.P (http://127.0.0.1:9973/game/__d ... :29956) at e.t.(anonymous function) [as onCanplay...

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

37. 截屏问题className:layaair/game/browser/ExportJavaFunction,methodName:captureScreen [ 87%]

截屏问题className:layaair/game/browser/ExportJavaFunction,methodName:captureScreen className:layaair/game/browser/ExportJavaFunction,methodName:captureScreen 2018-02-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...

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

38. 导入微信小游戏的时候 [ 87%]

导入微信小游戏的时候 WAGame.js:3 gameThirdScriptError Sprite3D: The .lh file root type must be Sprite3D,please use other function to  load  this file.;at api readFile success callback function Error: Sprite3D: The .lh file root type must be Sprite3D,please use other function to  load ...

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

39. 微信小游戏 code.js 报错 Cannot read property 'apply' of undefined [ 87%]

...微信小游戏 code.js 报错 Cannot read property 'apply' of undefined WAGame.js:4 gameThirdScriptError Cannot read property 'apply' of undefined;at socketTask.onopen callback function TypeError: Cannot read property 'apply' of undefined     at Function.eof (http://127.0.0.1:25423/game/code.js:5...

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

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

...败,但是底层还是会创建3D对象, 底层一定会报错 {"message":"gameThirdScriptError Cannot read property '_addReference' of undefined;at api request success callback function TypeError: Cannot read property '_addReference' of undefined     at t.<anonymous> (https://usr/game.js:4...

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