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

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

141. 微信小游戏打包后SFS2X.d.ts没有打包成js文件 导致运行报错未找到 [ 85%]

...me (http://127.0.0.1:17168/game/code.js:176074:20)     at EventHandler.__proto.runWith (http://127.0.0.1:17168/game/code.js:19043:41)     at ResInfo.__proto.event (http://127.0.0.1:17168/game/code.js:18812:28)     at LoaderManager.__proto._endLoad (http://127.0.0.1:17168/game/code.js:31710:11)...

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

142. Maximum call stack size exceeded 异常 [ 85%]

... size exceeded at loadProgress (https://usr/game.js:13524:25) at Handler.__proto.runWith (https://usr/game.js:727:41) at loadProgress (https://usr/game.js:13533:14) at Handler.__proto.runWith (https://usr/game.js:727:41) at loadProgress (https://usr/game.js:13533:14) at Handler.__proto.runWith (http...

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

143. 3D模型旋转定位问题 [ 84%]

...示是:TypeError: this.method.apply is not a function at EventHandler.__proto.run (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:697:26) at LoaderManager.__proto.event (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:483:52) at ResInfo.onLoaded (file:///E:/LayaWorkspa...

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

144. 微信飞机大战报错 [ 84%]

...de-chrome-debug-core\out\src\chrome\chromeDebugSession.js:122:68)     at ProtocolServer._handleData (d:\Program\LayaAirIDE_1.7.0\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\node_modules\vscode-debugadapter\lib\protocol.js:104:38)     at Socket.<anonymous> (d:\...

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

145. 请问UI之间的场景切换要怎么写 [ 84%]

...this.onWxSign); this.reset(); } Laya.class(sg_sign,"sg_sign",_super); var _proto = sg_sign.prototype; _proto.reset = function(){ Laya.SoundManager.playMusic('res/sound/sign_bgm.mp3',0); } _proto.onWxSign = function(e){ onWxSign1(); } return sg_sign; })(ui.sg_signUI); var sg_index = (function(_super)...

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

146. 如何在游戏入口处获取对象的子对象 [ 84%]

...直接调用MapLayer.具体怎么实现呢。获取地图层一定要在_proto.mapLoaaded里面吗? /* * name; */ var TiledMap = Laya.TiledMap; var Rectangle = Laya.Rectangle; var Handler = Laya.Handler; var Sprite = Laya.Sprite; var MapLayer = Laya.MapLayer; var loadMap = (function (_super) { fun...

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

147. https://ask.layabox.com/question/13181官方Demo运行不起来 [ 84%]

...peError: this._canvasTransform.identity is not a function     at Stage.__proto.setScreenSize (http://127.0.0.1:60853/game/su ... 340:33)     at Stage.__proto._changeCanvasSize (http://127.0.0.1:60853/game/su ... 8309:8)     at TimerHandler.__proto.run (http://127.0.0.1:60853/game/su ... 816:45...

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

148. prefab添加runtime脚本 comp._addComponentInstance is not a function [ 84%]

...at Function.SceneUtils.createByData (laya.core.js:11507)     at Prefab.__proto.create (laya.core.js:19301)     at Function.Pool.getItemByCreateFun (laya.core.js:5825)     at GameControl.createBox (GameControl.js:54)     at GameControl.onUpdate (GameControl.js:39)     at TimerHandler.__prot...

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

149. js飞机大战报错 请大神看看 [ 84%]

...in/Desktop/test/AirWar/AirWar09/src/Game.js:44:25)     at EventHandler.__proto.runWith (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/bin/libs/laya.core.js:688:60)     at ResInfo.__proto.event (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/bin/libs/laya.core.js:467:29)     at Loade...

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

150. 发布到微信小游戏后Timer的getHandler报错了 [ 84%]

... undefined TypeError: Cannot read property '$_TID' of undefined at Timer.__proto._getHandler (http://127.0.0.1:55825/game/code.js:22446:17) at Timer.__proto._create (http://127.0.0.1:55825/game/code.js:22320:21) at Timer.__proto.once (http://127.0.0.1:55825/game/code.js:22365:8) at MyData.__proto.ca...

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