大约有 384 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0038 秒)
Laya_社区(322) Laya2.0_文档(40) Laya3.0_文档(10) Laya2.0_示例(4) Laya_示例(4) Laya3.0_api(2) Laya2.0_api(2)
...度的回调。。。 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
...); 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
...那个例子~ haisenshushu • 2018-03-29 15:48 Laya.loader.load("res/atlas/comp.json", Laya.Handler.create(this, onLoaded)); function onLoaded() { //创建一个Animation实例 var tl = new Laya.Animation(); //加载动画文件 tl.loadAnimation("XXXXX1.ani"); //添加到舞台 ...
来源: Laya_社区 发布时间: 20180329
...47 赞同来自: 同样的问题,windows版本1.7.18。 不管是选择 .atlas还是 .json最后都只生成一个 .rec文件,没有打包的图片。 2018-06-11 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 黄奕 相关问题 2....
来源: Laya_社区 发布时间: 20180522
...编辑模式下导出一下,这时候会生成一个文件夹:bin/res/atlas,你可以直接放在这个文件夹下 2017-12-08 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 wendong98 相关问题 2.0一不...
来源: Laya_社区 发布时间: 20171208
...t.png",type:laya.net.Loader.IMAGE}]); 如果指定的类型时json或者atlas是会触发错误事件的。 2018-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 ㍿ 赞同来自: 补充一下,只有在...
来源: Laya_社区 发布时间: 20180926
...没有显示了,代码如下: 在入口文件: Laya.loader.load("res/atlas/template/QuestionDialog.atlas", Handler.create(null)); 对应的场景代码里: var dialog = new QuestionDialogUI(); Laya.stage.addChild(dialog); dialog.popup(); dia...
来源: Laya_社区 发布时间: 20180718
...示帧频信息 Laya.Stat.show(); //加载进度ui var arr = [{ url: "res/atlas/Progress.json", type: Laya.Loader.ATLAS }]; Laya.loader.load(arr, Laya.Handler.create(this, this.onProgress)); } onProgress() { this.Progress = new Progress(); Laya.stage.addChild(this.Progress); //加载资源进度并...
来源: Laya_社区 发布时间: 20171217