大约有 11 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0030 秒)
...的示例里,制作好UI页面以后发布,会产生一个ui页面的atlas文件,而我制作好以后发布,缺没有出现页面的atlas文件,只有图片资源的atlas文件,何解???例如官方的例子:Laya.loader.load(["./res/atlas/ListPage.atlas", "res/atlas/template/But...
来源: Laya_社区 发布时间: 20170904
...ta 我是用这样的方式加载的图集 Laya.loader.load([{url: "res/atlas/xxx1.json", type: Loader.ATLAS}, {url: "res/atlas/xxx2.json", type: Loader.ATLAS}, {url: "res/atlas/xxx3.json", type: Loader.ATLAS}], Handler.create(... 并且在这之前已经加载并...
来源: Laya_社区 发布时间: 20180505
...文件夹A里比如,在项目设置里把资源发布目录改成bin/A/res/atlas,把index.html目录改成bin/A, 发布微信小游戏生成的version.json文件有问题,内容是"A/res/atlas/xxx.png":"A/res/atlas/xxx-xxxxxx.png" 正确的应该是 "res/atlas/xxx.png":"res/atlas/xxx-xxxxxx.p...
来源: Laya_社区 发布时间: 20190603
... Laya.init(667,375); Laya.stage.bgColor = "#ffcccc"; Laya.loader.load("res/atlas/ui.atlas",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS); })() function onLoaded(){ var StartPage = new StartPage(); Laya.stage.addChild(StartPage); var GamePage = new GamePage(); Laya.stage.addChild(GamePag...
来源: Laya_社区 发布时间: 20181029
动画图集缓存问题 目前动画缓存是通过Animation.loadAtlas接口的第三个参数来缓存的,如果缓存后用 Laya.loader.clearRes(url,true)这样卸载资源,再次缓存同名动画,播放动画就会闪烁。如果用Laya.loader.clearRes(url,false)卸载,播放动画就...
来源: Laya_社区 发布时间: 20161128
...js代码中,let 是什么意思 IDE中自动打包图集后最后在res/atlas中只有json和png没有atlas,不知道原因是什么 请问list如何判断已经拉到底部了 资源管理器中的图片个别显示不打包,是不是不能打包到图集中了?这个是什么原因造成...
来源: Laya_社区 发布时间: 20170909
...laya\assets\xxx\里删除或增加图片,但是,发布后在bin/h5/res/atlas里没有看到生成图集 而用laya ide导出是没问题的 是我的使用方法有问题?layacmd里的参数exportRes都设置成了true的 2017-03-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20170316
...问题 今天换了IDE 1.7.8版(之前是 1.7.6_beta)。发现发布后的atlas文件没更新,json文件更新了。 查了论坛里几个问题后,决定直接在预加载部分加载json文件(之前是加载的atlas文件)。但是json文件是正常加载了,可是生成的图集图片没...
来源: Laya_社区 发布时间: 20170816
...ader = laya.net.Loader; var UI; Laya.init(600, 400); Laya.loader.load("res/atlas/template/comp.json", Laya.Handler.create(this, onAssetLoaded2), null, Loader.ATLAS); function onAssetLoaded2() { Laya.class(MyBoot, "MyBootClass", MyPage2UI); var UI = new MyBootClass(); Laya.stage.ad...
来源: Laya_社区 发布时间: 20160722
...ader = laya.net.Loader; var UI; Laya.init(600, 400); Laya.loader.load("res/atlas/template/Tab栏.json", Laya.Handler.create(this, onAssetLoaded2), null, Loader.ATLAS); function onAssetLoaded2() { Laya.class(MyBoot, "MyBootClass", MyBootPage2UI); UI = new MyBootClass(); Laya.stage.a...
来源: Laya_社区 发布时间: 20160722