大约有 158 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0039 秒)
Laya_社区(117) Laya2.0_文档(16) Laya3.0_文档(13) Laya3.0_api(3) Laya2.0_示例(3) laya_api(2) Laya_示例(2) Laya2.0_api(2)
...种进度条怎么实现? 希望能介绍下编译as的大致过程 Laya.loader.create 进度回调函数执行两次 问题状态 最新活动: 2017-10-12 19:34 浏览: 845 关注: 2 人 apeCom • 2017-10-12 19:39 谢谢
来源: Laya_社区 发布时间: 20171012
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
...麻烦帮看一下这种遮罩bar的进度条设了遮罩不起作用 Laya.loader.create 进度回调函数执行两次 最新版LayaAir IDE 2.2.0beta4的几个问题 问题状态 最新活动: 2017-05-31 11:24 浏览: 1061 关注: 2 人
来源: Laya_社区 发布时间: 20170531
...加载资源有提供回调方法获取加载进度么,目前只能通过Loader加载单个资源获得回调,加载数组的话有方法么 2017-03-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS ...
来源: Laya_社区 发布时间: 20170322
...tage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(["../../res/ui/progressBar.png", "../../res/ui/progressBar$bar.png"], Handler.create(this, onLoadComplete)); })(); function onLoadComplete() { progressBar = new ProgressBar("../../res/ui/progressBar.png"); progres...
来源: Laya_示例 发布时间: 20251130
... 我用js加载完图集后 tArray=[{url:"res/atlas/comp.atlas",type:Laya.Loader.ATLAS}] Laya.loader.load(tArray,Laya.Handler.create(this,onResLoaded())); 里面的button和checkbox提示丢失了。是什么原因?? 附件 : --> 2018-03-25 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20180325
...在移动浏览器就显示不了。我在项目启动之初使用了Laya.loader.load预加载字体,PC浏览器日志显示字体被加载了,移动浏览器有报错。 Laya.loader.load({ url: respath.font_SemiBold, type: Laya.Loader.TTF }, Laya.Handler.create(this, (obj: object) => {...
来源: Laya_社区 发布时间: 20250616
有没有Loader预加载 相关的注意事项或者文档 在手机上问题有点多 在电脑上Loader预加载方法都很正常 但是一旦打包成APK安装到手机上 有时会发生异常 Laya.loader.load(skins, Laya.Handler.create(this, fGameLoad), Laya.Handler.create(this, onLoading, ...
来源: Laya_社区 发布时间: 20161228
...e = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.loader.load(["res/ui/progressBar.png", "res/ui/progressBar$bar.png"], Handler.create(this, this.onLoadComplete)); } onLoadComplete() { const ProgressBar = Laya.ProgressBar, Handler = Laya.Handler; this.progressBar = new Progr...
来源: Laya2.0_示例 发布时间: 20251130
...源的进度进行显示,下面的编码为就是错误的。 1. `Laya.loader.load(urls, Laya.Handler.create(this, onAssetLoaded), Laya.Handler.create(this, onLoading));` 在上面的代码中,使用`Laya.Handler.create(this,onLoading)`返回的回调方法,是要处理progress加载进度事...
来源: Laya2.0_文档 发布时间: 20210715