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

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

21. 请教——layabox如何加载多个图集 [ 85%]

请教——layabox如何加载多个图集 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,onload)); 这样写只能添加一个图集,我想问有没有办法用一句代码同时添加其他图集 2018-08-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

22. 启用版本管理后,Laya.loader.load加载在微信web开发者工具触发不了回调 [ 85%]

...启用版本管理后,文件都带了hash, var resArray = [ {url: "res/atlas/common.atlas", type: Laya.Loader.ATLAS}, {url: "hall/1_login/login_bg.png", type: Laya.Loader.IMAGE}, {url: "hall/1_login/Bottom_article.png", type: Laya.Loader.IMAGE}, {url: "res/atlas/hall/login.atlas", type: Laya.Loa...

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

23. 发布h5项目,在浏览器上初始加载资源过多导致卡顿怎么优化 [ 85%]

...的 yaorao • 2018-03-30 11:29 Laya.loader.load([ { url: "res/common@atlas0.png", type: Loader.IMAGE }, { url: "res/common.fui", type: Loader.BUFFER }, { url: "res/game@atlas0.png", type: Loader.IMAGE }, { url: "res/game.fui", type: Loader.BUFFER }, { url: &q...

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

24. 添加fairygui使用fairygui.UIPackage.addPackage ( "res/Bag" )后可以正常跑,发布到微信小游戏出错 [ 85%]

...载引擎需要的资源             //Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, onLoaded));              Laya.loader.load             (                 [                     { url: "res/atlas/comp.atlas" , ...

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

25. layabox加载fairygui发布的二进制文件报错 [ 84%]

...看下   加载代码 Laya.loader.load([             { url:"res/Bag_atlas0.png", type:Laya.Loader.IMAGE },             { url:"res/Bag_atlas0_1.png", type:Laya.Loader.IMAGE},             { url:"res/Bag.json", type:Laya.Loader.BUFFER}              ], Laya.Handler.create(this,...

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

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

...//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.loader.load(asset,Laya.Handler.cre...

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

27. 资源加载 · LayaAir3.3 · 引擎文档 · LAYABOX [ 84%]

....SOUND sound 声音类型 Laya.Loader.VIDEO video 视频类型 Laya.Loader.ATLAS atlas 图集类型,加载完成后返回图集json信息(并创建图集内小图Texture) Laya.Loader.HIERARCHY HIERARCHY 层级资源,比如:场景ls文件与预制体lh文件 Laya.Loader.FONT font 位图字体...

来源: Laya3.0_文档 发布时间: 20251010

28. canvas下资源清理的问题 [ 83%]

...);                          Laya.loader.load([{url: "res/atlas/common.atlas", type: Loader.ATLAS}]);                          Stat.show();         }                  private function onClick(e:Event):void         {             swit...

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

29. 微信小游戏图片加载不出来 [ 82%]

...r.IMAGE }, { url: "ui/BG/load.png", type: Laya.Loader.IMAGE }, { url: "res/atlas/comp.atlas", type: Laya.Loader.ATLAS }, { url: "res/atlas/ui.atlas", type: Laya.Loader.ATLAS }, ]; Laya.loader.load(resArray, Laya.Handler.create(this, this.onLoaded)); Laya.loader.create("ui/BG/play-bg.png", Laya.Handl...

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

30. 加载的时候动画会卡 [ 82%]

...url:"cont/cpy1.jpg",type:Loader.IMAGE});         imgArr.push({url:"res/atlas/cont.json",type:Loader.ATLAS});         Laya.loader.load(imgArr,Handler.create(this,onAssetLoaded),Handler.create(this,onProgress,null,false));     }   (function() {     function Lload() {         Lload.__s...

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