大约有 77 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0039 秒)
...出错 如图: 正确的地址应该是 http://192.168.0.20:8900/bin/res/atlas/images/loading.png 附件 : --> 2017-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 cuixueying 赞同来自: 1、你的测试...
来源: Laya_社区 发布时间: 20170605
...ion beginLoad():void { //加载引擎需要的资源 Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, onLoaded)); } private function onLoad2():void { Laya.timer.once(2000, this, onLoaded); } private function onLoaded():void { //实例UI界面 //var testView:TestView = new TestView(); //...
来源: Laya_社区 发布时间: 20180525
...t.png",type:laya.net.Loader.IMAGE}]); 如果指定的类型时json或者atlas是会触发错误事件的。 2018-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 ㍿ 赞同来自: 补充一下,只有在...
来源: Laya_社区 发布时间: 20180926
...源是否已经加载完毕。 注意:cache参数只能对文件后缀为atlas的资源进行缓存控制,其他资源会忽略缓存,强制重新加载。 LoaderManager decodeBitmaps(urls:Array):void 解码Texture或者图集 LoaderManager event(type:String, data:* = null):Boolean 派发...
来源: Laya2.0_api 发布时间: 20190513
...rCode) { var tempData; if (type == Laya.Loader.JSON || type == Laya.Loader.ATLAS || type == Laya.Loader.PREFAB || type == Laya.Loader.PLF) { tempData = MiniAdpter.getJson(data.data); } else if (type == Laya.Loader.XML) { tempData = Laya.Utils.parseXMLFromString(data.data); } else { tempData = data.d...
来源: Laya_社区 发布时间: 20200103
...w(); Laya.stage.bgColor="#EEFFCC"; //预加载图集 Laya.loader.load("res/atlas/bag.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded():void { sp=new Sprite(); Laya.stage.addChild(sp); //每隔0.05秒出现下张图片 Laya.timer.loop(50,this,onLoop); } private fun...
来源: Laya_社区 发布时间: 20161107
...tring 图集地址或者texture地址,比如 Loader.clearTextureRes("res/atlas/comp.atlas"); Loader.clearTextureRes("hall/bg.jpg"); Returns void clearUnLoaded clearUnLoaded(): void Defined in laya/net/LoaderManager.ts:451 清理当前未完成的加载,所有未加载的内容全部停止加载...
来源: Laya3.0_api 发布时间: 20231102