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

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

131. mac版本2.0.2IDE发布时压缩PNG报错 [ 55%]

...缩PNG报错 报错内容:Encoding error 82: color conversion to palette requested while a color isn't in palette 截图如下: 查找原因,有几张图片会触发这个报错。 谷歌过,说把optipng改true,然后zopflipng改为false,应该时压缩方式变化,在发布时报错...

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

132. 教你微信小游戏使用服务端gzip数据。 [ 55%]

... 然后 //暴露一下 window.Pako = require('./pako_inflate.min.js'); wx.request({   url: '请求地址',   responseType: 'arraybuffer',    success(res) {     console.log(fromCharCode(Pako.inflate(new Uint8Array(res.data))));   } }); //处理中文 function decodeUTF8(arr,toType)  { //转...

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

133. 微信小程序调试器运行正常,真机调试报错 [ 55%]

...真机调试报错 VM128:1 gameThirdScriptError self is not defined;at api request success callback function ReferenceError: self is not defined at new s (game.js:6:16022) at  (../../src/script/GameUI.js:10:1) at  (../../src/script/GameUI.js:10:1) at  (../../src/script/GameUI.js:10:1) at at (game...

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

134. skeleton的_onAniSoundStoped清除的时候有时会报undefined错误 [ 55%]

...有多个声音播放时,清除时可能导致报错 by hhm-shy · Pull Request #1128 · layabox/LayaAir (github.com)[/url][/i] 附件 : --> Test.rar 2023-07-27 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya...

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

135. 不通过IDE调试,直接在chrome浏览器里打开h5 index.html 无法访问服务器 [ 55%]

...但是不通过ide调试而是直接在浏览器里面打开index.html,request method变为options 而不是代码里面的post方式,必须要把chrome的user-data-dir 指向.laya/chrome 目录才能正常访问,这个是因为什么呢? 2018-05-15 添加评论 免费帖 --> 分享 微博 Q...

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

136. mac下面更新了laya2.4beta运行chrome黑屏... [ 55%]

...示 : from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.     我也根据提示退出chrome进程启动了,没用啊。。。求你们用mac多搞搞..希望哪位有经验教育一下...

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

137. Failed to load resource: net::ERR_FILE_NOT_FOUND [ 55%]

...音效资源都能通过onMessage收到,请问这是什么原因啊? Request failed Status:404 text:undefined 游戏运行一会出现 getAMesh resizeBuffer Array buffer allocation failed /clang:-1: linker command failed with exit code 1 (use -v to see invocation) websocket connection failed: In...

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

138. 微信小游戏Laya.MiniAdpter.AutoCacheDownFile = true后第二次运行报错 [ 55%]

...13:1 gameThirdScriptError "Can not find scene:test/TestScene.scene";at api request fail callback function String   麻烦帮忙看看 附件 : --> testWxCacheFile.zip 2020-02-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交...

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

139. 微信头像请求方式 [ 55%]

...头像缓存到自己的服务器在转发到客户端. 我尝试使用HttpRequest的方式请求数据绕过跨域, 代码如下, 经测可用// 头像缓存 var headCache = {}; /** * 微信头像获取器 * @param {头像Url} headUrl * @param {显示头像Img} showImg */ function getWXHead(headUrl...

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

140. 谷歌浏览器无法使用skeleton.load [ 54%]

.../suteam/Documents/demoBojue_Laya/bin/h5/other/spine/kente.sk: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. 2018-01-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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