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

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

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

...:1 gameThirdScriptError VM122:1 gameThirdScriptError 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/...

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

62. 微信开发者工具,打开Laya发布的包。编译报请先初始化小游戏适配库,详细教程 [ 90%]

...us) @ gamePage.html:148 VM163:1 gameThirdScriptError window.focus is not a function TypeError: window.focus is not a function     at Function.Browser.__init__ (http://127.0.0.1:61836/game/code.js:7139:21)     at Function._$GET_clientWidth (http://127.0.0.1:61836/game/code.js:7056:11)     at ne...

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

63. 关于微信小游戏渲染子域图的问题 [ 90%]

...); 上面这句报错: gameThirdScriptError value._addReference is not a function TypeError: value._addReference is not a function     at Texture.<anonymous> (http://127.0.0.1:10656/game/js/bundle.js:15188:19)     at Texture.__proto.setTo (http://127.0.0.1:10656/game/js/bundle.js:15065:1...

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

64. 有人遇到GetType 的问题吗? laya2.0 [ 90%]

...rototype.UnBufferMove找到   box2d.b2BroadPhase.prototype.UnBufferMove = function(a) { a = this.m_moveBuffer.indexOf(a); this.m_moveBuffer[a] = null } ;  替换为:   box2d.b2BroadPhase.prototype.UnBufferMove = function(a) { let ba=0; while(true){ ba = this.m_moveBuffer.indexOf(a,ba); if(ba&lt...

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

65. 做了一个最简单的显示微信子域的程序,但是报错Cannot read property 'USER_DATA_PATH' of undefined [ 90%]

... Uncaught TypeError: Cannot read property 'USER_DATA_PATH' of undefined at Function.MiniFileMgr.setNativeFileDir (laya.wxmini.js:615) at Function.MiniAdpter.init (laya.wxmini.js:33) at Function.MiniAdpter.enable (laya.wxmini.js:19) at Function.Browser.__init__ (laya.core.js:8643) at Object.Laya.init...

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

66. 这个怎么办 laya.core.js:16463 Uncaught TypeError: Cannot read property '_tf' of null [ 90%]

...15797)     at Sprite.__proto.localToGlobal (laya.core.js:15757)     at Function.Utils.getGlobalRecByPoints (laya.core.js:10216)     at Function.Utils.getGlobalPosAndScale (laya.core.js:10224)     at Function.Utils.getTransformRelativeToWindow (laya.core.js:10293)     at GamePagePlayer.Util...

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

67. 微信小游戏报错 the .lh file root type must be Scene [ 90%]

...游戏报错 Scene: the .lh file root type must be Scene,please use other function to load this file.;at api readFile success callback function Error: Scene: the .lh file root type must be Scene,please use other function to load this file. at Scene.__proto.onAsynLoaded (http://127.0.0.1:62629/game/c...

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

68. 3D粒子现在支持Render Mesh吗? [ 90%]

...   Uncaught TypeError: Cannot read property 'mesh' of undefined     at Function._getSprite3DHierarchyInnerUrls (laya.d3.js:31405)     at Function._getSprite3DHierarchyInnerUrls (laya.d3.js:31462)     at Loader._onHierarchylhLoaded (laya.d3.js:31477)     at EventHandler.runWith (laya.core.js...

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

69. 屏幕截屏问题 [ 89%]

屏幕截屏问题 Offline.prototype.setSave=function(){ if( window.conch ) { window.conch.captureScreen(function(arrayBuff,width,height){ window.image = window.document.createElement("img"); window.image.putImageData(arrayBuff,width,height); }) } }     E/LayaBox: >>>>>>>>...

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

70. Uncaught TypeError: Cannot read property 'props' of undefined [ 89%]

...导入从unity导出的场景,出现此错误,代码如下 var Main = (function () { function Main() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //添加3D场景 Laya.Scene3D.load("Lay...

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