大约有 104 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0035 秒)
...打包,打包下面链接的图片失效,只有.rec文件(自带的comp图片可以成功) https://github.com/layabox/layaair/tree/master/samples/res/phoenix 把phoenix图片拷到设计模式的资源里面,将图片改成打包模式,进行导出时,能导出图集 这是因为...
来源: Laya_社区 发布时间: 20180126
... --tileWidthLimit=512 --tileHeightLimit=512 "D:\LayaAir\myLaya\laya\assets\comp\paoma" --outputDir="D:\LayaAir\myLaya\bin\res\atlas" --force -c 附件 : --> 2017-04-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回...
来源: Laya_社区 发布时间: 20170425
...e.on(Laya.Event.CLICK, this, this.onImgClick); Laya.loader.load("res/atlas/comp/skeleton.atlas"); //创建动画模板 this.templet = new Laya.Templet(); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError); this.templet.loadAni("comp/...
来源: Laya_社区 发布时间: 20180905
...轴动画如何设置播放一次后消失? Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, onLoaded)); function onLoaded() { var tl = new Laya.Animation(); tl.loadAnimation("democesi.ani"); Laya.stage.addChild(tl); tl.play(); tl.pos(302,650); } 2018-01-17 添加评论 免费帖...
来源: Laya_社区 发布时间: 20180117
...his.txtarea.overflow = "scroll"; //文本溢出 this.txtarea.skin = "atlas/comp/textarea.png"; //皮肤 this.txtarea.borderColor = "#f6ff03" //边框颜色 this.txtarea.scrollType = Laya.ScrollType.Vertical; //滚动方式 this.txtarea.vScrollBarSkin = "atlas/comp/vscroll.png"; //滚动条皮肤 } }...
来源: Laya3.0_文档 发布时间: 20251010
... // 程序入口 Laya.init(800, 800); Laya.loader.load([{ url: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); function onLoaded(): void { //实例UI界面 var testUI: TestUI = new TestUI(); Laya.stage.addChild(testUI); let vhvt: ViewHeadViewTest = new ViewHeadVie...
来源: Laya_社区 发布时间: 20170822
...new Laya.Panel(); this.panel.size(720, 1136); this.panel.vScrollBarSkin = "comp/vscroll.png"; Laya.stage.addChild(this.panel); var img:Laya.Image = new Laya.Image(); img.skin = "res/GameBG2.jpg" this.panel.addChild(img) var img1:Laya.Image = new Laya.Image(); img1.y = 1136; img1.skin = "res/GameBG2....
来源: Laya_社区 发布时间: 20180529
... (function(){ Laya.init(640,1027); Laya.loader.load("res/atlas/comp.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS)})(); function onLoaded(){ var karaok = new Karaok(); // new出来的内存 如何主动销毁? } })(window.LayaSample || (window.LayaSample={})); 2017-...
来源: Laya_社区 发布时间: 20170223
...代码,求解答 Laya.loader.load( // 资源 [{url:'res/atlas/comp.json',type:Laya.Loader.ATLAS}].concat(loadArr), // 加载完成回调 Laya.Handler.create(null,function(){ var logintest = new loginTestView().init(); Laya.stage.addChild(logintest); ...
来源: Laya_社区 发布时间: 20170331
....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.addChild(UI); } f...
来源: Laya_社区 发布时间: 20160722