大约有 730 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0041 秒)
Laya_社区(632) Laya2.0_文档(49) Laya3.0_文档(29) laya_api(4) Laya_示例(4) Laya3.0_api(4) Laya2.0_示例(4) Laya2.0_api(4)
...链接 提交 1 个回复 ssqhu 赞同来自: qihei Laya.loader.load("res/atlas/test0.png", Handler.create(this, function():void { var t:Texture = Laya.loader.getRes("res/atlas/test0.png"); ape = new Sprite(); var matrix:Matrix = new Matrix(); matrix.a = -1; ...
来源: Laya_社区 发布时间: 20170221
...,一般项目里面会预加载资源 例如var resarray = [ {"url":"res/atlas/common.json","type":Loader.ATLAS}, ]; Laya.loader.load(resarray, Handler.create(this, this.preloadLoaded), Handler.create(this, this.onProgress,null,false)); 这个时候这个资源是通过app本地加载还是网上...
来源: Laya_社区 发布时间: 20161204
...oad resource: net::ERR_FILE_NOT_FOUND [warn]Retry to load: D:/demo/bin/res/atlas/comp.json Failed to load resource: net::ERR_FILE_NOT_FOUND [error]Failed to load: D:/demo/bin/res/atlas/comp.json 2017-03-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20170328
...化管理这些貌似没有吧! IDE中自动打包图集后最后在res/atlas中只有json和png没有atlas,不知道原因是什么 问题状态 最新活动: 2025-10-22 13:36 浏览: 1574 关注: 2 人 哎呀嘛N号 • 2025-10-22 16:01 这个可用,牛掰!
来源: Laya_社区 发布时间: 20251021
UI界面加载有哪些回调方法可用 Laya.loader.load([{ url: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); 类似于this.onLoaded函数,还有哪些生命周期相关的回调呢。 我想在UI完全加载完毕后,完成一些init操作,this.onLoad...
来源: Laya_社区 发布时间: 20170720
.../chest_bg.png (4) [6, Texture, 7, Texture2D] loader http://localhost:18090/atlas/comp/img_bg.png (4) [6, Texture, 7, Texture2D] close --------------------------------gc 6000----------------------------------- loader http://localhost:18090/resources/chest_bg.png (2) [6, Texture] loader http://localho...
来源: Laya_社区 发布时间: 20240109
...1240,800,WebGL); Laya.stage.bgColor="#EEFFCC"; Laya.loader.load([{url:"res/atlas/comp.json",type:Loader.ATLAS},{url:"bg2.png"}],Handler.create(this,onCom)); } private function onCom():void { var img:Image=new Image(); img.skin="bg2.png"; panel=new Panel(); panel.vScrollBarSkin="comp/vscroll.png"; pa...
来源: Laya_社区 发布时间: 20161103
...-27 15:47 我是用ide打包的动画,打包出来只有json , png , atlas三个文件 abc0201213 • 2017-07-28 10:29 @cuixueying:我是用ide打包的动画,打包出来只有json , png , atlas三个文件 cuixueying • 2017-07-28 10:49 可以打图集,你预加载图集,从图集...
来源: Laya_社区 发布时间: 20170727
...e.currentTarget.response; self.postMessage(data); } xmlreq.open("get","res/atlas/comp.json"); xmlreq.send() }, false); ``` 这个例子是在worker中进行加载文件,加载完毕传给主进程,运行这个例子可以在浏览器控制台看到数据输出来。 `var myWorker = new Worke...
来源: Laya2.0_文档 发布时间: 20210715
...AssetList = Loader.getRes("file_list.json") Laya.loader.load("res/ui/share@atlas0.png", Handler.create(this, this.onLoaded), null, Loader.IMAGE, 1, true, null, true) } static onLoaded(res){ console.log("public assets inited !!!!") console.log(Laya.loader.getRes("res/ui/share@atlas0.png"))//此处会...
来源: Laya_社区 发布时间: 20180609