大约有 730 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0041 秒)
Laya_社区(632) Laya2.0_文档(49) Laya3.0_文档(29) laya_api(4) Laya_示例(4) Laya3.0_api(4) Laya2.0_示例(4) Laya2.0_api(4)
LayaAri游戏图集还原脚本 https://github.com/SmallRuralDog/atlas-restore # LayaAri游戏图集还原脚本 ### 运行环境 - Python 2.7 - PIL ### 使用方法 ``` # python main.py '还原文件' python main.py ./game.atlas ``` > 注意 : `atlas文件`和`图片文件`需在同一个目...
来源: Laya_社区 发布时间: 20191021
...成后我们会看到输出目录的3个文件,分别为.rec , Girl.atlas 和 Girl.png 看到这3个文件说明我们成功的将图集打包,图4 接下来我们需要将打包后的atlas和png文件存放到项目的bin/h5/res路径下, .rec是打包工具用的文件,我们可以不...
来源: Laya_社区 发布时间: 20171221
...//加载图集成功后,执行onLoaded回调方法 Laya.loader.load("res/atlas/apes.atlas", Laya.Handler.create(this, onLoaded)); function onLoaded() { //创建一个UI实例 var plan = new ui.TimeLineUI(); //添加到舞台 Laya.stage.addChild(plan); //播放UI场景中的动画 plan.crashed.play...
来源: Laya_社区 发布时间: 20190217
...,我断点跟踪把这个文件的内容拿到了,然后里面没有.atlas文件的信息,然后我们在之后调用clearRes清图集资源的时候,就报Cannot read property 'md5' of null错误了,错误的地方就在:clearRes里调用MiniFileMgr.remove方法,然后在这个地方...
来源: Laya_社区 发布时间: 20180719
...交 1 个回复 cuixueying 赞同来自: 你写加载类型了吗,Loader.ATLAS,可以上传一个重现问题的示例,我们来看下! 2017-04-19 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 wuzhen5201314 相关问题 加载...
来源: Laya_社区 发布时间: 20170419
Laya.URL.basePath加载不到网络资源 var resArray = [ { url: "res/atlas/images.atlas", type : Laya.Loader.ATLAS}, // { url: "res/swf/flash.json", type: Laya.Loader.JSON}, // { url: "images/background.png", type : Laya.Loader.IMAGE}, ]; Laya.loader.load(resArray, Laya.Handler.create(this, th...
来源: Laya_社区 发布时间: 20180531
...: 0 newCmd: "/usr/local/lib/node_modules/layaair-cmd/ProjectExportTools/TP/atlas-generator" "/Users/xxx/LayaAirIDE/packParam.json" Waiting for pics packing execute: "/usr/local/lib/node_modules/layaair-cmd/ProjectExportTools/TP/atlas-generator" "/Users/xxx/LayaAirIDE/packParam.json" Error Occured: E...
来源: Laya_社区 发布时间: 20190322
...信 匿名用户 赞同来自: 已经预加载了 skins.push( { url:"res/atlas/image1.json", type:Loader.ATLAS} ); skinsSecond.push( { url:"res/atlas/image.json", type:Loader.ATLAS }); skinsSecond.push( { url:"allResources/qfbutton.png", type:Loader.IMAGE })...
来源: Laya_社区 发布时间: 20170320
... laya的图集只能是.png吗? IDE中自动打包图集后最后在res/atlas中只有json和png没有atlas,不知道原因是什么 (有图片附件)图集用的atlas 在LayaAir里可以正常跑,但是发布后,运行报错 Failed to load file.Cross origin requests are 问题状态 最新...
来源: Laya_社区 发布时间: 20180122
...的切图,打包后被分配到了三个目录 bin\ad\... 和 bin\res\atlas\ad\... 和 bin\res\atlas\ad.png 这也太乱了太分裂了,统一放在res\atlas\ad目录下,方便做分包加载。 附件 : --> 2020-08-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20200824