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

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

1. 分享-js资源进度加载 [ 100%]

...加载 var ui_Socket: Socket; // 程序入口 class GameMain { //进度UI 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_社区 发布时间: 20171217

2. [LayaAirIDE3]Laya.loader.on(Event.ERROR, this, this.onError) 无法侦听到加载资源失败 [ 92%]

...结束");     }      // 加载进度侦听器     private onLoading(progress: number): void     {         console.log("加载进度: " + progress);     }      private onError(err: string): void     {         console.log("加载失败: " + err);     }       运行后得...

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

3. Loader加载音频如何获取具体加载进度 [ 88%]

...载进度 Loader加载音频如何获取具体加载进度? 监听 Event.PROGRESS,参数直接返回 1, 监听不到具体的加载进度? 2019-01-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron ...

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

4. laya.net.LoaderManager [ 78%]

...部停止加载。LoaderManager  create(url:*, complete:Handler = null, progress:Handler = null, type:String = null, constructParams:Array = null, propertyParams:Object = null, priority:int = 1, cache:Boolean = true):void 根据clas类型创建一个未初始化资源的对象,随后进行异步...

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

5. 后台切换到前台的回调 [ 73%]

...者回调 如何定义动画播放过某帧后的回调函数 load方法的progress回调进的次数太少了。是我哪里设置有问题么 创建树Tree 该怎么回调mouseHandler 形参该传什么 Laya.Handler.create 回调 执行回调函数时报is not a function Laya.loader.create 进度...

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

6. laya.net.Loader [ 72%]

...te加载完成后调度。Loader  error加载出错时调度。Loader  progress加载进度发生改变时调度。LoaderPublic Constants ConstantDefined By  ANIMATIONCLIP : String = ANIMATIONCLIP[static] AnimationClip资源。Loader  ATLAS : String = atlas[static] 图集类型,加载完...

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

7. laya.net.LoaderManager_API3.0 [ 70%]

...e create(url: string | (string | createItem)[], complete?: Handler | null, progress?: Handler | null, type?: string | null, constructParams?: any[] | null, propertyParams?: any, priority?: number, cache?: boolean): void Defined in laya/net/LoaderManager.ts:97 根据clas类型创建一个未初始化...

来源: Laya3.0_api 发布时间: 20231102

8. Timer类有没有AS3那样的reset();stop();start()方法呢? [ 65%]

...还有使用Laya.Loader的方式能不能加载ani文件? load方法的progress回调进的次数太少了。是我哪里设置有问题么 ts如何通过文件集加载的方法预加载声音文件,然后再调用 Laya的应用内支付方法调用 手游的时候一般会对堆栈信息进行...

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

9. laya.net.Loader_API3.0 [ 58%]

...否则值为 false。 fetch fetch<K>(url: string, contentType: K, onProgress?: ProgressCallback, options?: Readonly<ILoadOptions>): Promise<ContentTypeMap[K]> Defined in laya/net/Loader.ts:436 从指定URL下载。这是较为底层的下载资源的方法,它和load方法不同...

来源: Laya3.0_api 发布时间: 20231115

10. 【简单跑酷--JS版】---Lv.6 终篇 [ 41%]

...fig.GameHeight - this.txt.height) * 0.5; this.addChild(this.txt); } _proto.progress = function(value){ this.txt.text = "Loading " + parseInt(value * 100) + "%"; } })();[/i][i](function () { /** * 游戏介绍 */ function GameInfo(){ this.bg = null; this.txt = null; GameInfo.__super.call(this); this....

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