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

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

21. UI-Tab [ 75%]

...WALL; Laya.stage.bgColor = "#232628"; Laya.stage.bgColor = "#3d3d3d"; Laya.loader.load(skins, Handler.create(this, onSkinLoaded)); })(); function onSkinLoaded() { var tabA = createTab(skins[0]); tabA.pos(40, 120); tabA.labelColors = "#000000,#d3d3d3,#333333"; var tabB = createTab(skins[1]); tabB.pos...

来源: Laya_示例 发布时间: 20240930

22. ProgressBar 代码问题 [ 74%]

...钮点击后 出现popup并且模拟进度条加载 按钮代码: this.testLoadingBar_anim.on(Event.CLICK,this,()=>{     var loading : Onloading = new Onloading();     loading.popup(true);     Laya.timer.loop(100, this, loading.changeValue); }); 进度条代码: import Handler = Laya.Handle...

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

23. vivo真机加载问题 [ 74%]

...试过,发布到vivo真机调试,直接运行是没有问题的 Laya.loader.load([1.png,2.png,3.png])  返回undefined Laya.loader.load("1.png") 加载返回false Laya.Texture2D.load("1.jpg")  加载返回undefined 求帮助   附件 : --> 2020-03-25 添加评论 已悬赏20元 --> 分享 微...

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

24. UI-Tab [ 74%]

...e = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); Laya.loader.load(skins, Handler.create(this, this.onSkinLoaded)); } onSkinLoaded() { let tabA = this.createTab(skins[0]); tabA.pos(40, 120); tabA.labelColors = "#000000,#d3d3d3,#333333"; let tabB =this. createTab(skins[1]); tabB.p...

来源: Laya2.0_示例 发布时间: 20240930

25. swf预加载问题 [ 73%]

swf预加载问题 loader不能用于swf的预加载,于是用MovieClip的​load方式做了个。不知道会不会有问题。package util { import laya.ani.swf.MovieClip; import laya.events.Event; import laya.events.EventDispatcher; import laya.net.Loader; import laya.utils.Handler; public cl...

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

26. loadingView 的 tips提示问题 [ 73%]

loadingView 的 tips提示问题 loadingView 的 tips设置的显示字体太小了。 能不能设置隐藏?   loadingView.setTips([""]); 直接这样设置 ,但后面还显示一个百分比   怎么处理好呢   根据工作人员的方法已解决:  android版本 1、解压开app\lib...

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

27. 预加载图集文集在小游戏端导致内存过高 [ 73%]

...y: Array<any> = [ { url: hyip+"res/atlas/comp/01_shouye.json", type: Loader.ATLAS }, { url: hyip+"res/atlas/comp/02_zhujiemian.json", type: Loader.ATLAS }, { url: hyip+"res/atlas/comp/30_loading.json", type: Loader.ATLAS }, ]; Laya.loader.load(resArray, Laya.Handler.create(this, this.onLoaded1...

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

28. laya.spine.js问题以及spine.core.js问题 [ 72%]

...ERROR事件也抛不出去。   private loop() { if (this.assetManager.isLoadingComplete()) { this.parseSpineAni(); return; } if (this.assetManager.hasErrors()) { this.event(Event.ERROR, "load failed:" + this.assetManager.getErrors()); return; } Laya.timer.frameOnce(1, this, this.loop); }       ...

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

29. clearRes内存泄漏 [ 72%]

clearRes内存泄漏 使用Laya.loader.clearRes之后重新加载图片,会有内存泄漏 附件 : --> DemoClearRes.zip 2018-04-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 OneWay 赞同来自:  Laya.loade...

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

30. laya 2.0 分包问题 [ 72%]

...resolveId 如果返回除了'Laya'以外的字符串,会提示 Could not load ***   例如  resolveId  返回 'App', 编译后,提示Could not load App. no such file or directory, open '**/LayaAirIDE-2.7.0beta\resources\app\App' 2020-08-27 添加评论 免费帖 --> 分享 微博 QZONE 微信...

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