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

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

11. IOs使用手动删除本地资源再次进去加载问题 [ 91%]

...ion/16878 这个问题 function beginLoad(){ var res_array = [ {url : "res/atlas/loading.atlas", type : Laya.Loader.ATLAS}, {url : "res/atlas/person.atlas", type : Laya.Loader.ATLAS}, {url : "loading/progress.png", type : Laya.Loader.IMAGE}, {url : "loading/progress$bar.png", type : Laya.Loader.IMAG...

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

12. 界面编辑器按F12发布后,生成的res/atlas文件夹是空的 [ 91%]

界面编辑器按F12发布后,生成的res/atlas文件夹是空的 资源管理器增加图片后发布,总是不能更新图集,手贱把bin/res文件夹删了, 发布资源会重新生成res文件夹,但是生成的res/atlas文件夹是空的。 2016-12-24 添加评论 免费帖 --> ...

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

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

...: var resArray: Array<any> = [             { 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.IMA...

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

14. ts 空项目 版本1.7.20 下的load 调用2次 第二次 失效 [ 90%]

...的load 调用2次 第二次 失效 var assets =[]; assets.push({url:"res/atlas/UI/Shop.atlas",type:Laya.Loader.ATLAS}) assets.push({url:"res/atlas/setting.atlas",type:Laya.Loader.ATLAS}) assets.push({url:"res/atlas/shop_buy.atlas",type:Laya.Loader.ATLAS}) assets.push({url:"res/atlas/build.atlas",ty...

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

15. 找不到对应的资源 [error]Failed to load: res/atlas/standUp/aa.json [ 90%]

找不到对应的资源 [error]Failed to load: res/atlas/standUp/aa.json 1.资源应该什么放,才对, 我用自带的图集工具打包(现在是加载失败先),知道是路径!但。。。。还是没有调对 2.用自带的图集打包,会在傍边多出一个文件夹“DEFAULT_...

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

16. “\bin”下的res文件夹删除了,里面的atlas文件该怎么生成? [ 90%]

“\bin”下的res文件夹删除了,里面的atlas文件该怎么生成? 我重试了很多方法,将之前的步骤再来一遍都不行,那个文件夹包括里面的文件都不生成,非常无奈!   2018-01-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

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

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

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

18. 加载配置json文件不成功!json文件放在bin目录下的 [ 89%]

...件不成功!json文件放在bin目录下的   Laya.loader.load(["res/atlas/comp.atlas","res/atlas/popup.atlas","res/atlas/cartoon.atlas","res/atlas/miner.atlas","gameConf.json"],Laya.Handler.create(this,onloaded),null,null); 2018-07-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

19. canvas下资源清理的问题 [ 89%]

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

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

20. 请问在设计模式下制作的UI页面,到底怎么在代码里使用???官方教程不一样 [ 88%]

...的示例里,制作好UI页面以后发布,会产生一个ui页面的atlas文件,而我制作好以后发布,缺没有出现页面的atlas文件,只有图片资源的atlas文件,何解???例如官方的例子:Laya.loader.load(["./res/atlas/ListPage.atlas", "res/atlas/template/But...

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