大约有 270 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0035 秒)
Laya_社区(197) Laya2.0_文档(22) Laya3.0_文档(15) Laya3.0_api(12) Laya2.0_api(10) laya_api(6) Laya_示例(4) Laya2.0_示例(4)
求绘制遮罩会引起黑屏的解决办法 this.progressvalue = new Laya.Image("Game/bar_yuan.png"); this.progressvalue.anchorX = 0.5; this.progressvalue.anchorY = 0.5; this.progressvalue.pos(15, 15); //记录宽度 this.width_x = this.progress.width + 3; this.vmask = new Laya.Sprite(); this....
来源: Laya_社区 发布时间: 20180725
...把scene里的静态方法: static load(url: string, complete?: Handler, progress?: Handler): void; static open(url: string, closeOther?: boolean, param?: any, complete?: Handler, progress?: Handler): void; static close(url: string, name?: string): boolean; static closeAll(): void; static setLoadi...
来源: Laya_社区 发布时间: 20181128
...= callback; // this.errcallback = errcallback; //this.http.once(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); this.http.once(Laya.Event.COMPLETE, this, this.onHttpRequestComplete); this.http.once(Laya.Event.ERROR, this, this.onHttpRequestError); this.http.send(url, 'chapterid=7125', 'post'...
来源: Laya_社区 发布时间: 20180916
...ya.Handler.create(this, this.onLoading, null, false)); } private onLoading(progress: number): void { console.log("加载进度: " + progress); } private onAssetLoaded(texture:Laya.Texture){ console.log("加载结束"); } Log输出内容 Warning!,this class[MiniAdpter] already exist: Object {} 加载...
来源: Laya_社区 发布时间: 20180314
...条,进度不能重置问题 官方提供的进度条示例 只能设置progress.png的九宫, 里面的progress$bar.png 无法设置,然而拉长以后效果简直无法直视 问题状态 最新活动: 2018-06-19 11:47 浏览: 1138 关注: 2 人 ayiui4566 • 2018-06-23 11:23 额,我用自...
来源: Laya_社区 发布时间: 20180615
...回调参数值为true,否则为false。 * @param progress 加载进度回调。回调参数值为当前资源的加载进度信息(0-1)。 * @param type 资源类型。比如:Loader.IMAGE。 * @param priority ...
来源: Laya_社区 发布时间: 20180418
...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.IMAGE}, ] Laya.loader.load(res_array, Handler.create(null, onLoaded)); } function onLoaded() { var res_array = [ {url : "res/atla...
来源: Laya_社区 发布时间: 20180803
... } this.event(/*laya.events.Event.PROGRESS*/"progress",0.3+1 / toloadPics.length *0.6); return this._loadImage(toloadPics.pop()); 2019-02-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20190202
...回调参数值为true,否则为false。 * @param progress 加载进度回调。回调参数值为当前资源的加载进度信息(0-1)。 * @param type 资源类型。比如:Loader.IMAGE。 * @param priority ...
来源: Laya_社区 发布时间: 20180502
...现类似游戏饥荒的效果 官方提供的进度条示例 只能设置progress.png的九宫, 里面的progress$bar.png 无法设置,然而拉长以后效果简直无法直视 跑马灯滚动公告效果,详细一点,多谢 问题状态 最新活动: 2024-08-12 17:50 浏览: 904 关注: 2...
来源: Laya_社区 发布时间: 20240812