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

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

11. Laya中Button等组件lose skin的问题 [ 97%]

Laya中Button等组件lose skin的问题 在UI界面给组件设置皮肤时遇到的问题,Button组件丢失了皮肤”lose skin wxlocal/enemy.png”无法正常显示,但是旁边的Image组件却能正常的展示。 设计模式中的两架飞机,上面那架是Image组件,下面那...

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

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

...rManager { 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 loadProgress() { this.progressUI = UIBase.create(LoadProgress.UI_LoadProgress, ...

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

13. 使用IDE发布小游戏时,启用了版本管理会导致使用 Laya.MiniAdpter.nativefiles 定义的本地资源文件无法加载 [ 97%]

使用IDE发布小游戏时,启用了版本管理会导致使用 Laya.MiniAdpter.nativefiles 定义的本地资源文件无法加载 问题描述: 使用 IDE 发布小游戏时,若勾选了版本控制,IDE 会将所有代码及资源文件重新命名。 在代码中使用原始文件名...

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

14. 【BUG】加载的url中有错误url时,laya偶现加载complete不回调 [ 96%]

【BUG】加载的url中有错误url时,laya偶现加载complete不回调 Bug代码如下,当第一个url是错误的,并且是lh类型时,会导致complete回调不走。具体见附件的demo。原因是onerror时没有重置customParse属性为false。 var res3DArr = [ { url: this.error_...

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

15. 分享-js资源进度加载 [ 96%]

...I Progress: 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 } ,...

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

16. laya.net.LoaderManager [ 96%]

... | Frames No Frames LoaderManagerProperties | Methods | Events Packagelaya.netClasspublic class LoaderManagerInheritanceLoaderManager EventDispatcher Object LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实例化此类,请通过Laya.loader访问。 全部队...

来源: laya_api 发布时间: 20170929

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

...sh("resources/UI/role/atlasAni2/139x/" + name + i + ".png");     }     Laya.Animation.createFrames(aniFrames, name); }     附件 : --> 2023-07-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 layabox 赞...

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

18. laya.net.LoaderManager [ 96%]

... | Frames No Frames LoaderManagerProperties | Methods | Events Packagelaya.netClasspublic class LoaderManagerInheritanceLoaderManager EventDispatcher Object LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实例化此类,请通过Laya.loader访问。 全部队...

来源: Laya2.0_api 发布时间: 20190513

19. 加载的时候动画会卡 [ 96%]

...  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.__super.call(this);         this.dh();       ...

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

20. Laya.loader.load(xx) 当地址""的时候,会报错。 [ 96%]

Laya.loader.load(xx) 当地址""的时候,会报错。 laya 引擎是2.5的      Laya.loader.load(cg_url,Laya.Handler.create(this,()=>{             let tur:Laya.Texture = Laya.loader.getRes(cg_url);             if(tur)img_cg.graphics.drawImage(tur)        ...

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