大约有 730 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0044 秒)
Laya_社区(632) Laya2.0_文档(49) Laya3.0_文档(29) laya_api(4) Laya_示例(4) Laya3.0_api(4) Laya2.0_示例(4) Laya2.0_api(4)
...资源释放不掉 我已经升级到最新的2.0.2 具体怎么释放atlas图集呢 郁闷死了 搞了好长时间了 也没有具体的教程 2019-04-28 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: (getRes(“xxx”) as Laya.Resource).destroy 2019-04-29 0 2 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20181201
...度的回调。。。 function beginLoad(){ Laya.loader.load("./res/atlas/comp.atlas", Handler.create(null, onLoaded),Laya.Handler.create(this,onProgress,null,false)); } function onProgress(value:any):void{ console.log(value); } jinfawu • 2018-03-21 15:22 @Monica:项目已上传至微云...
来源: Laya_社区 发布时间: 20180321
...方文档是错的,几年了至今无解答 let aniEffConfPath = './res/atlas/comp.atlas' Laya.loader.load(aniEffConfPath, Laya.Handler.create(this, this.onLoaded)) onLoaded(){ // Laya.ClassUtils.regClass('ui.TestPUI', ui.TestPUI) var efc = new ui.TestPUI(); Laya.stage.addChild(efc); } 按照官...
来源: Laya_社区 发布时间: 20210111
...行 this.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
...is.PathBg = "../../res/bg2.png"; this.PathFly = "../../res/fighter/fighter.atlas"; //初始化引擎 Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#2...
来源: Laya_示例 发布时间: 20251209
...); Stat.show(); //加载引擎需要的资源 Laya.loader.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { //实例UI界面 Laya.stage.bgColor="#353535"; sp1=createSprite(50,50);//创建方块1 sp2=createSprite(250,50);//...
来源: Laya_社区 发布时间: 20161207
...rawcalls kezhiyu • 2018-05-29 16:38 可以不用缓存, 只用 texture atlas kezhiyu • 2018-05-29 16:43 然后你的texture atlas图控制好大小,貌似这个引擎 超过1024px就会有内存增大问题 夏^O^雨 • 2018-05-24 20:20 Web的 Laya_Aaron • 2018-05-24 20:22 @夏^O^雨:苹...
来源: Laya_社区 发布时间: 20180524
...景色 Laya.stage.bgColor="#fffff"; //加载资源 Laya.loader.load("res/atlas/comp.json",Handler.create(this,completeLoad),null,Loader.ATLAS); } public function completeLoad():void { //原始位图 createImg(200,50); //红色滤镜 createRedFilter(); //创建发光滤镜位图**/ createGlowFilter()...
来源: Laya_社区 发布时间: 20170811
... { urls.push("Res/atlas/array/stand/" + ((dir*4) + i) + ".png"); } for (var j:int = 0 ; j < 8 ; j ++) { urls.push("Res/at...
来源: Laya_社区 发布时间: 20170921
...没有显示了,代码如下: 在入口文件: Laya.loader.load("res/atlas/template/QuestionDialog.atlas", Handler.create(null)); 对应的场景代码里: var dialog = new QuestionDialogUI(); Laya.stage.addChild(dialog); dialog.popup(); dia...
来源: Laya_社区 发布时间: 20180718