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

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

101. 求绘制遮罩会引起黑屏的解决办法 [ 71%]

求绘制遮罩会引起黑屏的解决办法 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

102. 一个关于laya.display.scene不成熟的小建议 [ 71%]

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

103. 网络请求添加headers后 post数据错误 [ 70%]

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

104. 预加载结束之后还是报lose skin [ 70%]

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

105. 我用的HBox做的进度条为啥总是一闪一闪的。 [ 69%]

...条,进度不能重置问题 官方提供的进度条示例 只能设置progress.png的九宫, 里面的progress$bar.png 无法设置,然而拉长以后效果简直无法直视 问题状态 最新活动: 2018-06-19 11:47 浏览: 1138 关注: 2 人 ayiui4566 • 2018-06-23 11:23 额,我用自...

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

106. 预加载进入游戏界面 [ 69%]

...回调参数值为true,否则为false。          * @param    progress    加载进度回调。回调参数值为当前资源的加载进度信息(0-1)。          * @param    type        资源类型。比如:Loader.IMAGE。          * @param    priority   ...

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

107. IOs使用手动删除本地资源再次进去加载问题 [ 69%]

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

108. Invalid character: '`' Stack:[native code]异常 [ 69%]

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

109. 有时候加载一大堆资源的时候某个个别图片资源加载失败如何处理 [ 68%]

...回调参数值为true,否则为false。          * @param    progress    加载进度回调。回调参数值为当前资源的加载进度信息(0-1)。          * @param    type        资源类型。比如:Loader.IMAGE。          * @param    priority   ...

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

110. [LayaAir3]开关Instancing效果有区别 [ 68%]

...现类似游戏饥荒的效果 官方提供的进度条示例 只能设置progress.png的九宫, 里面的progress$bar.png 无法设置,然而拉长以后效果简直无法直视 跑马灯滚动公告效果,详细一点,多谢 问题状态 最新活动: 2024-08-12 17:50 浏览: 904 关注: 2...

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