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

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

11. [LayaAir3]OPPO小游戏下图片地址无法加载 [ 80%]

... 无法显示  Laya.loader .load( "https://sh.mudgj.com/api/playe ... ot%3B, Laya.Loader.IMAGE ) .then((res: Laya.Texture) => { let sp = new Laya.Sprite(); sp.texture = res; sp.pos(0, 200); this.addChild(sp); });无法正常显示 检查发现 qg.downloadFile  报 error {         "errCode":...

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

12. 微信小游戏设置网络动态加载无法显示 [ 80%]

...aya.URL.rootPath = Laya.URL.basePath = "https://lg-f6ejft4c-1256468286 ... 3B%3B var asset = []; asset.push({ url : "res/atlas/game.atlas", type:Laya.Loader.ATLAS }); asset.push({ url : "res/atlas/bubbles.atlas", type:Laya.Loader.ATLAS }); asset.push({ url : "game/bgGame.png", type:Laya.Loader.IMAGE...

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

13. Laya.load在OPPO小游戏端无法加载带有不安全字符的图片网址 [ 80%]

...行代码就能找到错误 let _url = "https://lupic.cdn.bcebos.com/2 ... 3B%3B Laya.loader.load(_url, Laya.Handler.create(this, res => { let a = new Laya.Image(_url); Laya.stage.addChild(a); })) 以下是安卓层面输出日志:09-22 11:08:10.811 27895-28111/? D/jswrapper: JS: [WARN]: [warn]...

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

14. 关于 iframe跳转地址 [ 80%]

...ts = window.location.search; var url = "http://119.29.138.145/bgame/in ... 3B%3B // http://119.29.138.145/bgameClient/index.html(游戏地址 体验服) // http://119.29.138.145/bgame/index.html(游戏地址 正式服) var iframe = document.createElement("iframe"); iframe.id = "iframe"; iframe.name ...

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

15. 图片mask失效问题. [ 78%]

...n():void{     maskimg.loadImage("http://img.diyphoto.cn/Mask/im ... ot%3B,0,0,500,500);         }); 延时加载  的效果. 模拟加载的东西很多的时候 2016-09-23 0 8 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 whzoo...

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

16. 打包后的APP是不是不能通过location跳网页链接 [ 77%]

...Laya.Browser.window.location.herf="http://gamebbs.swjoy.com/threa ... 3B%3B我刚才就是这样写的,点击没有效果 18336093936 • 2017-12-23 16:10 http://gamebbs.swjoy.com/thread-366155-1-1.html Monica • 2017-12-23 16:11 我上边有说跳转的地址必须是用LayaAir写的哈 183...

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

17. httpRequest send返回Request failed Status:0 [ 76%]

...hr = new Laya.HttpRequest(); var url = "http://thirdqq.qlogo.cn/g%3Fb% ... 3B%3B xhr.once(Laya.Event.COMPLETE, this, this.completeHandler, [url, 1]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.send(url, "", "get", "arraybuffer"); } } GameMain.prototype.completeHandler = function (URL, ...

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

18. 微信小游戏加载外部json可以加载成功,但是加载外部图片就不行,没有任何反应 [ 73%]

...有任何反应 Laya.loader.load(["https://xxdzz.shoujiyeyou.net/ ... ot%3B, "https://xxdzz.shoujiyeyou.net/ ... ot%3B], Handler.create(this, this.onLoaded), null, "json");   Laya.loader.load(["https://xxdzz.shoujiyeyou.net/mmphp/19.png"], Handler.create(this, this.nlll), null, "image");   一样...

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

19. 关于laya生成的canvas定位问题导致内部事件不正确 [ 73%]

...iv> </body> <script src="https://cdn.bootcss.com/jquery ... gt%3B <script type="text/javascript" src="http://layaair.ldc.layabox.com ... ot%3B ></script> <script> $(function(){ var layaDiv = $('.layaDiv'); var msgDiv = $('.msgDiv'); var clickIndex = 0; layaDiv.append(La...

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

20. [0]Laya3.0.3 的VideoNode不支持在微信浏览器中播放 [ 72%]

....VideoTexture(); videoTexTure.source = "https://www.layaair.com/3.x/de ... 3B%3B videoTexTure.on(Laya.Event.READY,this,()=>{ videoTexTure.play(); var image:Laya.Image = new Laya.Image(); image.texture = new Laya.Texture(videoTexTure); this.addChild(image); image.pos(100,100); }); 2024-03-04 1 1 ...

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