大约有 717 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0049 秒)
Laya_社区(623) Laya2.0_文档(49) Laya3.0_文档(25) laya_api(4) Laya_示例(4) Laya3.0_api(4) Laya2.0_示例(4) Laya2.0_api(4)
... newCmd: "D:/LayaAirIDE_beta/resources/app/out/vs/layaEditor/libs/TP/atlas-generator" "C:/Users/BQXH/AppData/Roaming/LayaAirIDE/packParam.json" layabuilder.max.js:5602 Waiting for pics packing layabuilder.max.js:10023 execute: "D:/LayaAirIDE_beta/resources/app/out/vs/layaEditor/libs/TP/atlas-g...
来源: Laya_社区 发布时间: 20180516
...件,以及编译后多了两个文件: /项目名字 /bin/h5/res/atlas/test.atlas 和 /项目名字 /bin/h5/res/atlas/test.png。 我不知道laya到底是个什么原理 在存储资源,还不带认路的。认路也是偏的,谁知道,laya打包和非打包资源在项目里...
来源: Laya_社区 发布时间: 20180105
...Game){//加载一个json和图集Laya.loader.load(["json/reward.json","res/atlas/test.atlas"],Laya.Handler.create(null,function(){//加载完成//使用接口将图集透传到子域Laya.MiniAdpter.sendAtlasToOpenDataContext("res/atlas/test.atlas"); //使用接口将json投促函到子域Laya.MiniAd...
来源: Laya_社区 发布时间: 20190419
...:hero_down。发布! 2.hero.ani路径是:bin\ani\hero.ani 3.资源atlas在:bin\res\atlas\war.atlas 4.代码如下 : IDE版本:1.7.19.1beta tsc 版本:2.1.5 附件 : --> AirWar.zip 2018-08-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20180807
MiniAdpter.sendAtlasToOpenDataContext 发起后,开放域中load失败 版本号:2.3.0 描述(如图): 1.主域中加载Atlas后发起sendAtlasToOpenDataContext 2.开放域收到Message后,加载该Atlas失败。 此时console中error:: GET http://127.0.0.1:65309/usr/lay ... 5.png 50...
来源: Laya_社区 发布时间: 20191128
...: 问题已经找到了,是UI编辑器F12导出的时候打包的大图是atlas后缀格式造成的,而默认例子里面加载的是json格式的: Laya.loader.load("res/atlas/comp.json", Handler.create(this, onAssetLoaded), null, Loader.ATLAS); 所有导致了图集位置错乱,麻烦技术修...
来源: Laya_社区 发布时间: 20171110
Laya.Animation.loadAtlas 这个方法是有问题吗 我的途径路径是, res/atlas/gun1.atlas. 然后加载这个资源的时候, 报错 Not recognize the resource suffix 版本是laya 1.7.21 2019-01-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20190123
... { url: "res/beijing/beijing2.png", type: Laya.Loader.IMAGE }, { url: "res/atlas/comp.png", type: Laya.Loader.IMAGE }, { url: "res/atlas/comp.atlas", type: Laya.Loader.ATLAS }], Laya.Handler.create(this, this.onLoaded), Laya.Handler.create(this, this.onLoading)); } static aaa(): void { } private onL...
来源: Laya_社区 发布时间: 20180507
...ing 赞同来自: 项目示例代码如下 ani=new Animation(); ani.loadAtlas("res/atlas/atlasLight.json",null,"play"); ani.play(); Laya.stage.addChild(ani); 有的开发者会发现,如果loadAtlas方法使用了模板名称,使用Loader.clearRes无法彻底清理掉animation的所有缓...
来源: Laya_社区 发布时间: 20161129
...编辑模式里场景模式为 内嵌模式,资源发布目录为 bin/res/atlas F12发布UI后,如下图所示出现弹窗,过一会弹窗自动关闭,没有任何提示,没有报错也没有提示发布成功 切换到代码模式后看到在ui文件夹下生成了一个layaMaxUI.ts文件...
来源: Laya_社区 发布时间: 20190408