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

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

1. Laya.loader.create和Laya.loader.load能混合用? [ 100%]

Laya.loader.create和Laya.loader.load能混合用? 如果3d是用Laya.loader.create 2d用的是Laya.loader.load那么问题来了 我有点懵逼,3d里面不也有2d资源么。那我究竟是用create还是load。如果分开。。oncomplete时候不得再做一层判断? 2019-01-29 添加...

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

2. Laya.loader.load和new Laya.Loader区别? [ 98%]

Laya.loader.load和new Laya.Loader区别? let json:any = Laya.loader.getRes(this._data.url); if(json) { return; } let load:Laya.Loader = new Laya.Loader(); 这么写 频繁加载会一直报资源重复加载 但是我 Laya.loader.load(xxxxxxxxx) 频繁加载就没事 请问这两者的区别 我...

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

3. 用javascript如何实现游戏登录游戏前的资源加载进度,如何将图片,音乐等素材加载到界面通过加载条显示加载进度 [ 98%]

...入一包 你的fui進度條的 然後思路大概就是下面的codeclass LoaderManager { private progressUI: UIBase; private token; constructor(token) { Laya.loader.load([{ url: "res/ui/LoadProgress.fui", type: Loader.BUFFER }], Handler.create(this, this.loadProgress)) this.token = token; } public...

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

4. Laya.loader.load("", Laya.Handler.create(this, this.console)); [ 98%]

Laya.loader.load("", Laya.Handler.create(this, this.console)); 为什么会打印两次 附件 : --> 2018-12-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 加载两次 2019-05-11 0 0 ...

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

5. 分享-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

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

...览: 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

7. loader伤透了我的脑筋 [ 98%]

LayaAir引擎 loader伤透了我的脑筋 下面是我的代码和执行结果,官方能告诉我你们的loader到底是个什么逻辑,这只是一种情况,更搞笑的是,load之后还有没有通知的情况 附件 : --> 2019-07-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

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

...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

9. 加载的时候动画会卡 [ 97%]

...      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

10. Laya.Loaderlaya.net.Loader加载的区别 [ 97%]

Laya.Loaderlaya.net.Loader加载的区别 2017-10-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: 你可以先看下LoaderManager和Loader的API做下对比,有什么问...

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