大约有 735 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0056 秒)
Laya_社区(635) Laya2.0_文档(49) Laya3.0_文档(31) laya_api(4) Laya_示例(4) Laya3.0_api(4) Laya2.0_示例(4) Laya2.0_api(4)
...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
... 2025-08-18 0 1 分享 微博 QZONE 微信 photon 赞同来自: 出现了atlas多个图集文件,laya可以做到多张图一个atlas图集文件。 2025-08-19 0 2 分享 微博 QZONE 微信 153*****169 赞同来自: 今天更新新版本,主要变更: 1. 适配手机端,现在手机端浏...
来源: Laya_社区 发布时间: 20250816
...没有删除资源的情况下-------------------------- 2.复合文件(atlas,swf等),如果atlas里的内容和之前的atlas内容不符 3.versin.json被删除了,虽然其他文件都在,但是也会全部重新生成新的文件名。 是这样吗? 至于以后生成新的文...
来源: Laya_社区 发布时间: 20180628
...机里是不一样的,咋回事? 手机: 网页: 代码: ani.loadAtlas("res/atlas/hero_"+_model+".atlas",Handler.create(this,onLoad)); function onLoad():void { this.addChild(ani); var bounds:Rectangle = ani.getBounds(); Control.showLog(bounds.toString()); } 附件 : --> 2018-03-07 添加...
来源: Laya_社区 发布时间: 20180307
...ce(); })(); function loadResource(){ var resourceArray = [ { url:"res/atlas/comp.atlas" , type : Laya.Loader.ATLAS} ]; Laya.loader.load(resourceArray,Laya.Handler.create(null,loadResourceComplete)); } function loadResourceComplete() { Laya.stage.addChild(new LoginView()); } })(); feiguangf...
来源: Laya_社区 发布时间: 20180315
...小写规则有没有基本的说明文档 比如: Laya.loader.load("res/atlas/comp.json", Laya.Handler.create(null, onLoaded), null, Laya.Loader.ATLAS); Laya.loader.load(resArray, Laya.Handler.create(null,onLoaded)); loader与handler 2017-03-16 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20170316
...效果的UI页面,会在`src/ui`目录下生成UI类,以及`bin/h5/res/atlas`目录下的图集文件,如图9所示。  (图9) ### 4.2 使用IDE生成的类与图集,实现遮罩效果 创建一个入口类`Main.as`,编码如下: ```java package { import laya....
来源: Laya2.0_文档 发布时间: 20210714
怎么在api中找到 Laya.loader.load Laya.loader.load("res/atlas/war.json",Laya.Handler.create(this,this.onloaded),null,Laya.Loader.ATLAS); 这一句,我想找一下Laya.loader.load的使用说明和使用例子,但是不知道怎么找。在api里我开了Laya。 http://layaair.ldc.layabox.c...
来源: Laya_社区 发布时间: 20171017
...信小游戏上显示一个Dialog 代码如下: Laya.loader.load(["res/atlas/comp.atlas"], Laya.Handler.create(this, function(){ console.log("load atals ok"); var dlg1:ui.TestDlgUI = new ui.TestDlgUI(); Laya.stage.addChild(dlg1); dlg1.show(); }));在微信小游戏的模拟器上是正常的,但...
来源: Laya_社区 发布时间: 20180525
...是也能显示! blackMan.json 是一个小黑人 ani not found: res/atlas/default/blackMan.json public static readonly BLACK_MAN = "res/atlas/default/blackMan.json"; this.aniTemp.loadAtlas(ResourcesManager.BLACK_MAN, null, ResourcesManager.BLACK_MAN); json 文件是 {"frames":{...
来源: Laya_社区 发布时间: 20170824