大约有 717 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0046 秒)
Laya_社区(623) Laya2.0_文档(49) Laya3.0_文档(25) laya_api(4) Laya_示例(4) Laya3.0_api(4) Laya2.0_示例(4) Laya2.0_api(4)
...端导致内存过高 let resArray: 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.Ha...
来源: Laya_社区 发布时间: 20180122
...的代码拆分到了分包script文件夹中。 三、打包图集 图集(Atlas)是游戏开发中常见的一种美术资源,通过IDE发布流程将多张图片合并成一张大图,并通过atlas格式的文件存放原始图片资源信息。 图3-1就是采用LayaAirIDE打包好的一张pn...
来源: Laya3.0_文档 发布时间: 20240926
图集类型(ATLAS)文件的的png文件没有加上时间戳 如图所示,图集文件有配置文件comp.json文件,以及图片合集文件comp.png文件,在1.7.2及以下的版本中,comp.png文件有在url后加时间戳,但是1.7.3及以上版本中都没有给comp.png文件加...
来源: Laya_社区 发布时间: 20170602
...tools/node-v8.9.0-linux-x64/lib/node_modules/layacmd/ProjectExportTools/TP/atlas-generator" "/home/sgf_ebuild/LayaAirIDE/packParam.json" Waiting for pics packing execute: "/data/tools/node-v8.9.0-linux-x64/lib/node_modules/layacmd/ProjectExportTools/TP/atlas-generator" "/home/sgf_ebuild/LayaAirIDE/p...
来源: Laya_社区 发布时间: 20171211
...createChildren():void { super.createChildren(); let assets = [ { url: "res/atlas/ui/shared.atlas", type: Loader.ATLAS }, { url: "res/atlas/ui/myview.atlas", type: Loader.ATLAS }, { url: "view/MyView.json", type: Loader.JSON }, ] Laya.loader.load(assets, Handler.create(this, this.onLoaded)); } privat...
来源: Laya_社区 发布时间: 20180113
...比如我打开技能模块,需要加载技能模块的资源,包括 a.atlas b.atlas c.atlas d.mp3 e.mp3 f.json g.json 那么laya里是怎么一起加载这个模块的资源的。 不能用Laya.loader.load([a.atlas, b.atlas,...,....])这样加载吧,那这样管理不是很麻烦 如果除...
来源: Laya_社区 发布时间: 20190912
...可是怎么在主页面上显示啊。 教程中 Laya.loader.load("./res/atlas/ui.atlas",Handler.create(this,onLoaded));这个ui.atlas 死活没看见啊。 代码复制了,不行 啊,坑在哪里???? package{import laya.net.Loader;import laya.utils.Handler;import ui.EffectAnimationD...
来源: Laya_社区 发布时间: 20190708
...opo 赞同来自: 如果此排列 loadArr.push({url:HitNum1URL,type:Loader.ATLAS,priority:1 }); loadArr.push({url:HitNum2URL,type:Loader.ATLAS,priority:1 }); loadArr.push({url:HitNum4URL,type:Loader.ATLAS,priority:1 }); 就HitNum1URL为loader callback cost a long time:2169 如果此顺序 loadArr.pu...
来源: Laya_社区 发布时间: 20170307
...r.IMAGE }, { url: "ui/BG/load.png", type: Laya.Loader.IMAGE }, { url: "res/atlas/comp.atlas", type: Laya.Loader.ATLAS }, { url: "res/atlas/ui.atlas", type: Laya.Loader.ATLAS }, ]; Laya.loader.load(resArray, Laya.Handler.create(this, this.onLoaded)); Laya.loader.create("ui/BG/play-bg.png", Laya.Handl...
来源: Laya_社区 发布时间: 20181105
...擎播放layaair制作的.ani layaair上制作了动画导出后的png和atlas, 正常播放。 把这些复制到我的项目里 可是播放不出来,在chome的network里看到请求到的数据只有card.atlas, card.png,其他打包成图集的png都没有。 导致动画播放不了,请教...
来源: Laya_社区 发布时间: 20180817