大约有 487 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)
...之后还是报lose skin private loadRes():void{ Laya.loader.load("./res/atlas/comp.atlas",Laya.Handler.create(this, this.onAssetLoaded),Laya.Handler.create(this, this.onLoading, null, false)); } private onLoading(progress: number): void { console.log("加载进度: " + progress); } private onAssetL...
来源: Laya_社区 发布时间: 20180314
...pData; if (type==/*laya.net.Loader.JSON*/"json" || type==/*laya.net.Loader.ATLAS*/"atlas"){ tempData=MiniAdpter.getJson(data.data); }else if (type==/*laya.net.Loader.XML*/"xml"){ tempData=Utils.parseXMLFromString(data.data); } // else if (type==/*laya.net.Loader.XML*/"font"){ // tempData=Utils.parse...
来源: Laya_社区 发布时间: 20180704
...js代码中,let 是什么意思 IDE中自动打包图集后最后在res/atlas中只有json和png没有atlas,不知道原因是什么 请问list如何判断已经拉到底部了 资源管理器中的图片个别显示不打包,是不是不能打包到图集中了?这个是什么原因造成...
来源: Laya_社区 发布时间: 20170909
... var resArr:Array = [ {res:"res/atlas/ui.atlas"}, {res:"res/ui/back.png",type:Loader.IMAGE} ]; Laya.loader.load(resArr,Handler.create(this,this.onLoaded)); } ...
来源: Laya_社区 发布时间: 20180106
...抛出异常: // 动画模版 Laya.Animation.createFrames([{ url: "res/atlas/actor/character/idle.json", type: Laya.Loader.ATLAS }], ActionType.MOVE_STAND); 异常信息如下: TypeError: url.indexOf is not a function at Function.URL.formatURL (file:///E:/EarlyChildhood/EARLY_GAME_001/bin/lib...
来源: Laya_社区 发布时间: 20170206
...ader = laya.net.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.ad...
来源: Laya_社区 发布时间: 20160722
...ive = new Array(); alive.push({url:"res/FGUIMain/Common_atlas0.png", type:Laya.Loader.IMAGE}); Laya.loader.load(alive, Laya.Handler.create(this, this.LoadFinish)); } private LoadFinish(success:boolean):void { if(suc...
来源: Laya_社区 发布时间: 20210618
...in文件夹下的导出资源打版本为0.1,所有被IDE打包进图集.atlas中的资源则不会出现在manifest.json中。此时在游戏中加载完atlas文件后会执行Loader.as的onLoaded中的如下代码 }else{ for (name in frames) { obj = frames[name];//取对应的图 tPic = pics[obj...
来源: Laya_社区 发布时间: 20180415
...,字体模糊是什么原因? IDE中自动打包图集后最后在res/atlas中只有json和png没有atlas,不知道原因是什么 LayaAirIDE无法打开代码编辑器,原因初次安装填写路径错误 在js代码中,let 是什么意思 GradientDataNumber warning是什么 看官方2.0...
来源: Laya_社区 发布时间: 20190624
...ile:///E:/layabox/layaair-doc-master/project/AS3/AirWar/lesson8/bin/h5/res/atlas/gameUI.atlas. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. 另外 LayaIDE 编译打开经常只有黑屏,或者: 未定义任何生成任务。使用 "i...
来源: Laya_社区 发布时间: 20170830