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

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

1. 加载的时候动画会卡 [ 100%]

...      var imgArr = ;         imgArr.push({url:"cont/cpf1.jpg",type:Loader.IMAGE});         imgArr.push({url:"cont/cpr1.jpg",type:Loader.IMAGE});         imgArr.push({url:"cont/cps1.jpg",type:Loader.IMAGE});         imgArr.push({url:"cont/cpt1.jpg",type:Loader.IMAGE});        ...

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

2. 部分IOS机型在加载mp3音频文件时出错,资源加载异常 [ 99%]

...t; = [             { url: "res/atlas/Images.atlas", type: Laya.Loader.ATLAS },                      { url: "Images/BG_Gray.png", type: Laya.Loader.IMAGE },             { url: "Images/BG_PopWindow.png", type: Laya.Loader.IMAGE },             { ...

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

3. 分享-js资源进度加载 [ 98%]

...gress: Progress; Socket: Socket; arr = [ { url: "images/1.jpg", type: Laya.Loader.IMAGE } , { url: "images/2.jpg", type: Laya.Loader.IMAGE } , { url: "images/3.jpg", type: Laya.Loader.IMAGE } , { url: "images/4.png", type: Laya.Loader.IMAGE } , { url: "images/5.jpg", type: Laya.Loader.IMAGE } , { ur...

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

4. 报无法找到资源,未升级ide之前不报错 [ 96%]

...览: 3508 关注: 3 人 逸辰 • 2023-07-19 22:52 onAwake(): void { Laya.loader.load( //先加载本场景要用的 ["resources/UI/image.png", "resources/UI/progress.png", "resources/UI/progress$bar.png","resources/UI/images/dsgame/banner2.jpg"] ).then(() =&...

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

5. Laya.loader.load 如何同时加载图片数组以及json图集 [ 95%]

Laya.loader.load 如何同时加载图片数组以及json图集 Laya.loader.load([{url: "res/atlas/images/fesh.json", type: Loader.ATLAS}, {url: "res/atlas/images.json", type: Loader.ATLAS},{url: "res/atlas/common.json", type: Loader.ATLAS}, {url: "res/atlas/template/ButtonTab.json", type: Loader.A...

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

6. JS进度条加载问题 [ 94%]

...function () { Laya.init(720, 1280); var pro1={url:"comp/BG1.jpg",type:Laya.Loader.IMAGE}; var pro2={url:"comp/BG1.jpg",type: Laya.Loader.IMAGE}; var proArr = []; proArr[0]=pro1; proArr[1]=pro2; Laya.loader.load(proArr,Laya.Handler.create(this,onProLoaded)); if(Laya.Browser.onAndriod) { Laya.stage.sc...

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

7. load数组加载如何实现多维? [ 94%]

...载如何实现多维? loadfile = [ {url:"/bin/res/load/b.png",type:Laya.Loader.IMAGE}, {url:"/bin/res/load/a.png",type:Laya.Loader.IMAGE}, {url:"/bin/res/load/b.png",type:Laya.Loader.IMAGE}, {url:"/bin/res/load/a.png",type:Laya.Loader.IMAGE}, {url:"/bin/res/load/b.png",type:Laya.Loader.IMAGE}, {u...

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

8. 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) [ 94%]

...总个数去模拟加载进度,示例如下:package { import laya.net.Loader; import laya.ui.ProgressBar; import laya.utils.Handler; public class LoadingDemo { private var progressBar:ProgressBar; public function LoadingDemo() { Laya.init(550,400); //预加载loading条资源 var pro1:Object={ur...

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

9. 请问我用网络格式加载成功后,在服务器替换image.atlas和images.png重新打开小游戏没有重新加载服务器的png,只重新加载了atlas [ 94%]

...Array = [ //{ url: "https://piggy.com/res/atlas/images.atlas", type : Laya.Loader./png}, { url: "https://piggy.com/res/atlas/images.atlas", type: Laya.Loader.ATLAS }, { url: "https://piggy.com/res/swf/flash.json", type: Laya.Loader.JSON }, { url: "images/background.png", type: Laya.Loader.IMAGE }, {...

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

10. 引擎自带的图集图片丢失问题 [ 93%]

... 我用js加载完图集后 tArray=[{url:"res/atlas/comp.atlas",type:Laya.Loader.ATLAS}] Laya.loader.load(tArray,Laya.Handler.create(this,onResLoaded()));   里面的button和checkbox提示丢失了。是什么原因??   附件 : --> 2018-03-25 添加评论 免费帖 --> 分享 微博 QZONE ...

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