大约有 505 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0044 秒)
Laya_社区(459) Laya2.0_文档(27) Laya3.0_文档(6) Laya_示例(3) Laya3.0_api(3) Laya2.0_示例(3) laya_api(2) Laya2.0_api(2)
...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
...,字体模糊是什么原因? IDE中自动打包图集后最后在res/atlas中只有json和png没有atlas,不知道原因是什么 LayaAirIDE无法打开代码编辑器,原因初次安装填写路径错误 在js代码中,let 是什么意思 GradientDataNumber warning是什么 看官方2.0...
来源: Laya_社区 发布时间: 20190624
...的地方),资源路径写错了。改成 Laya.loader.load("res/atlas/Resources.json",laya.utils.Handler.create(this,this.onReader),null,laya.net.Loader.ATLAS);就好了 Buzhihew • 2017-01-11 15:50 @Monica:.......我.....总之谢谢啊啊啊 Monica • 2017-01-11 15:51 @Buzhihew:不...
来源: Laya_社区 发布时间: 20170111
...mple){ (function(){ Laya.init(640,1027); Laya.loader.load("res/atlas/comp.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS)})(); function onLoaded(){ var karaok = new Karaok(); // new出来的内存 如何主动销毁? } })(window.LayaSample || (window.LayaSample={}));...
来源: Laya_社区 发布时间: 20170223
...mber = 0; i < len; i++) { aniFrames.push("resources/UI/role/atlasAni2/139x/" + name + i + ".png"); } Laya.Animation.createFrames(aniFrames, name); } 附件 : --> 2023-07-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20230713
...出,他们又会被放到一起去了 Laya.Animation.createFrames("res/atlas/war.atlas","hreo_fly") ; 我用这个createFrames实现飞机动画效果,旧版本,可以加多个单独的图片,, 但最新版的报错:supplied parameter do not match any signature of call target(提供的参...
来源: Laya_社区 发布时间: 20171207
...onConfigLoaded=function(){ Laya.init(600,400); Laya.loader.load([{url:"res/atlas/comp.json",type:"atlas"}],Handler.create(this,this.onLoadUi)); } __proto.onLoadUi=function(){ Laya.timer.loop(100,this,this.onLoaded); } __proto.onLoaded=function(){ if(this.isOpen){ return; } this.isOpen=true; var test...
来源: Laya_社区 发布时间: 20190517
...this, onLoaded),Handler.create(this, onProgress)); //Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, onLoaded),Handler.create(this, onProgress)); } private function onProgress(v:Number):void { trace("onProgress",v); } 不管添加多少资源,onProgress都只会调用一次 ...
来源: Laya_社区 发布时间: 20180428
...链接 提交 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
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