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

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

51. 进度条样式在减少过程中会慢慢突出容器 [ 78%]

...种进度条怎么实现? 希望能介绍下编译as的大致过程 Laya.loader.create 进度回调函数执行两次 问题状态 最新活动: 2017-10-12 19:34 浏览: 845 关注: 2 人 apeCom • 2017-10-12 19:39 谢谢

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

52. Laya.loader Progress回调形同虚设 [ 78%]

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

53. 先前提交的几个问题想咨询下处理进度[ 78%]

...麻烦帮看一下这种遮罩bar的进度条设了遮罩不起作用 Laya.loader.create 进度回调函数执行两次 最新版LayaAir IDE 2.2.0beta4的几个问题 问题状态 最新活动: 2017-05-31 11:24 浏览: 1061 关注: 2 人

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

54. LayaFlash中的preSwfAssets预加载资源有提供回调方法获取加载进度[ 77%]

...加载资源有提供回调方法获取加载进度么,目前只能通过Loader加载单个资源获得回调,加载数组的话有方法么 2017-03-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS ...

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

55. UI-ProgressBar [ 77%]

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

56. 引擎自带的图集图片丢失问题 [ 77%]

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

57. [LayaAir3]自定义字体在移动浏览器不起作用 [ 77%]

...在移动浏览器就显示不了。我在项目启动之初使用了Laya.loader.load预加载字体,PC浏览器日志显示字体被加载了,移动浏览器有报错。     Laya.loader.load({ url: respath.font_SemiBold, type: Laya.Loader.TTF }, Laya.Handler.create(this, (obj: object) => {...

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

58. 有没有Loader预加载 相关的注意事项或者文档 在手机上问题有点多 [ 77%]

有没有Loader预加载 相关的注意事项或者文档 在手机上问题有点多 在电脑上Loader预加载方法都很正常  但是一旦打包成APK安装到手机上 有时会发生异常 Laya.loader.load(skins, Laya.Handler.create(this, fGameLoad), Laya.Handler.create(this, onLoading, ...

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

59. UI-ProgressBar [ 77%]

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

60. 内存优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 76%]

...源的进度进行显示,下面的编码为就是错误的。 1. `Laya.loader.load(urls, Laya.Handler.create(this, onAssetLoaded), Laya.Handler.create(this, onLoading));` 在上面的代码中,使用`Laya.Handler.create(this,onLoading)`返回的回调方法,是要处理progress加载进度事...

来源: Laya2.0_文档 发布时间: 20210715