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

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

1. 关于Laya.loader.load和getRes问题 [ 100%]

关于Laya.loader.load和getRes问题 我正在阅读这个示例:https://layaair.ldc.layabox.co ... Image  以下是原文代码,也是我疑问地方:// 方法2:使用drawTexture Laya.loader.load("../../../../res/apes/monkey2.png", Handler.create(this, function():void { var t:Te...

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

2. 资源加载 · LayaAir3.0文档 · LAYABOX [ 97%]

...擎核心模块,是必须要使用功能,LayaAir引擎提供了Loader类用于加载文本、JSON、二进制、图像等资源。 下面我们在本篇文档中彻底掌握各种资源加载使用。 一、加载单个资源 1.1 常用资源加载方式 通常,采用Laya.loader.lo...

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

3. Laya.loader.load() 是怎么发送请求? [ 96%]

Laya.loader.load() 是怎么发送请求? 如题,请问Laya.loader.load() 通过啥调用 HttpRequestsend方法啊? 2018-04-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关链接 提交 2 个回复 Laya_XS 赞同来自: ...

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

4. 人物行走图动画 [ 95%]

...从第二张图片(迈出左脚那张图片)开始。   还有Loader.ATLAS是static] 图集类型,加载完成后返回图集json信息(并创建图集内小图Texture)。      load(url:String, type:String = null, cache:Boolean = true):void 加载资源。 Laya.loader.load(AniConfPat...

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

5. laya.net.LoaderManager [ 94%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames LoaderManagerProperties | Methods | Events Packagelaya.netClasspublic class LoaderManagerInheritanceLoaderManager EventDispatcher Object LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实...

来源: laya_api 发布时间: 20170929

6. Laya.loader Progress回调形同虚设 [ 94%]

Laya.loader Progress回调形同虚设 private function beginLoad():void { //加载引擎需要资源 Laya.loader.load([ "res/1.png", "res/2.png", "res/3.png", "res/4.png", "res/5.png", "res/6.png", "res/7.png" ], Handler.create(this, onLoaded),Handler.create(this, onProgress)); //Laya.loader.lo...

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

7. loader.load 方法 在加载失败时候会不会自己重新尝试加载呢? [ 93%]

loader.load 方法 在加载失败时候会不会自己重新尝试加载呢? 这点想核实清楚一点,因为如果会话,错误回调,成功回调等等要兼顾这些逻辑。 2016-11-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

8. 导出类型为文件模式时,只能是通过Laya.Scene.load加载返回传递参数得到视图对象么? [ 93%]

...载返回传递参数得到视图对象么? 不能加完后,通过 loader.getRes(xxx)方式通过代码进行实例化出一个新视图对象么? 2018-10-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关链接 提交 2 个回...

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

9. 微信小游戏环境下,load参数ignoreCache设置为true时,并没有重新下载资源 [ 93%]

...11-23 15:27 浏览: 2527 关注: 2 人 刘大明 • 2018-11-21 19:41 Laya.loader.load("https://xxxx/image.png", new Laya.Handler(this, this.imageLoaded), null, Laya.Loader.IMAGE, 0, false, "", true); 代码是这样,但是这个url资源覆盖以后,还是不会发生...

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

10. laya.net.LoaderManager [ 93%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames LoaderManagerProperties | Methods | Events Packagelaya.netClasspublic class LoaderManagerInheritanceLoaderManager EventDispatcher Object LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实...

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