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

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

111. HttpRequest在网页上和APP上表现不一致 [ 56%]

...hr.once(Laya.Event.COMPLETE, this, ()=>{console.log("http timeout test: success");});     hr.once(Laya.Event.ERROR, this, (e: any)=>{console.log("http timeout test: error " + e.toString());});     console.log("http timeout test: start post");     hr.send(url, "", "post"); });   如上...

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

112. 微信小游戏打包后SFS2X.d.ts没有打包成js文件 倒是运行报错未找到 [ 56%]

...js文件 倒是运行报错未找到 SFS2X is not defined;at api readFile success callback function ReferenceError: SFS2X is not defined     at Server.initSFS (http://127.0.0.1:17168/game/code.js:130617:26) 2019-10-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

113. 导出到微信小游戏资源加载失败回调不执行 [ 56%]

...AutoClear:Boolean =true):void { var downloadTask:* = wxdown({url: fileUrl, success: function(data:Object):void { if (data.statusCode === 200) readFile(data.tempFilePath, encoding, callBack, readyUrl,isSaveFile,fileType,isAutoClear); else callBack != null && callBack.runWith([1, data]); }, fa...

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

114. 微信小程序项目中xml无法加载和解析 [ 56%]

...der.XML}]); 错误如下: gameThirdScriptError undefined;at api readFile success callback function undefined 经调试,原因就是加载了xml,去掉该行就不会报错。 同时位图字体也是因为xml解析的原因报错 TypeError: xml.getElementsByTagName is not a function 2018-01-03...

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

115. 做3D游戏,对应平台的3D资源是否要再U3D区分导出 [ 55%]

...: [TMA][ERROR][RUNTIME] thirdScriptError undefined;at api readFile success callback function undefined 字面意思理解是加载资源没有回调,在Android和Web上能跑,在IOS上有问题,我就猜测是资源格式的问题,因为U3D里不同平台也需要打不同平台的AB...

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

116. Laya小游戏在Laya里边跑没问题,发布到微信平台报错 [ 55%]

...发布到微信平台报错"gameThirdScriptError undefined;at api readFile success callback function undefined" 错误是WAGame.js 和 gamePage.html;里的,不知道为什么,希望有人解答啊!急需急需急需…… 2018-09-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

117. UI场景加载,不稳定 [ 55%]

...赞同来自: demo---       在ResourceManager中有两个方法 loadSuccess loadRunning 在LoadController中有个 public startLoad(){ if(LoadControl.isLaodSuccess){ console.log("加载成功了"); EventManager.Instance().BroadcastLisenter(GameEnum.load_success); }else{ console.log("开始加...

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

118. laya的模型动画对360小游戏不适配 报game.js:22084 Uncaught getUint16 error - Out of bounds [ 54%]

...一直报这个错!getUint16 error - Out of bounds";at api request success callback function String

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

119. 打包到头条IOS端异常: readFile callback [ 54%]

...      MiniFileMgr.fs.readFile({ filePath: filePath, encoding: encoding, success: function (data) {                 if (filePath.indexOf("http://") != -1 || filePath.indexOf("https://") != -1) {                     if (TTMiniAdapter.autoCacheFile || isSaveFile) ...

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

120. 在微信小游戏中使用BitmapFont会导致报错. [ 54%]

...打开就报错.   堆栈: gameThirdScriptError undefined;at api readFile success callback function console.error @ VM1782:1 errorReport @ WAGame.js:3 thirdErrorReport @ WAGame.js:3 (anonymous) @ WAGame.js:3 u @ WAGame.js:4 (anonymous) @ WAGame.js:4 function.setTimeout @ gamePage.html:1 (anonymous)...

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