大约有 1,584 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)
Laya_社区(1113) Laya2.0_文档(231) Laya_示例(108) Laya2.0_示例(69) Laya3.0_文档(50) Laya3.0_api(11) Laya2.0_api(2)
...(Browser.width, Browser.height, WebGL); Stat.show(); mTexturePath = "../../res/skeleton/" + fileName + "/" + fileName + ".png"; mAniPath = "../../res/skeleton/" + fileName + "/" + fileName + ".sk"; Laya.loader.load([ { url: mTexturePath, type: Loader.IMAGE }, { url: mAniPath, type: Loader.BUFFER }],...
来源: Laya_示例 发布时间: 20251130
...lick); Laya.loader.load([{url: "res/atlas/common.atlas", type: Loader.ATLAS}]); Stat.show(); } private function onClick(e:Event):void { ...
来源: Laya_社区 发布时间: 20180425
...查是否正在下载,避免网页reload this.event("progress",0); var type=this._type; if (type=="plfb"){ this.parsePLFBData(data); this.complete(data); }else if (type=="plf"){ ...
来源: Laya_社区 发布时间: 20200427
...载问题 var obj:any = { url:"res/atlas/comp.atlas?version=1.0.0", type: Loader.ATLAS };Laya.loader.load(obj); 引擎自动加载的png地址是res/atlas/comp.png, 而不是res/atla...
来源: Laya_社区 发布时间: 20180427
...mple() { //初始化引擎 Laya.init(600, 400); //Laya.loader.load([{url: "res/atlas/char_wudang01.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); this.onLoaded(); } private function onLoaded():void { //Animation.createFrames(["res/atlas/monsterbeattack/0.png","res/atlas/monsterbeattac...
来源: Laya_社区 发布时间: 20170220
...tps://lg-f6ejft4c-1256468286 ... 3B%3B var asset = []; asset.push({ url : "res/atlas/game.atlas", type:Laya.Loader.ATLAS }); asset.push({ url : "res/atlas/bubbles.atlas", type:Laya.Loader.ATLAS }); asset.push({ url : "game/bgGame.png", type:Laya.Loader.IMAGE }); Laya.loader.load(asset,Laya.Handler...
来源: Laya_社区 发布时间: 20180517
...路径 var data = []; for (var i = 0; i < 10; ++i) { data.push("../../res/ui/listskins/1.jpg"); data.push("../../res/ui/listskins/2.jpg"); data.push("../../res/ui/listskins/3.jpg"); data.push("../../res/ui/listskins/4.jpg"); data.push("../../res/ui/listskins/5.jpg"); } list.array = data; } fun...
来源: Laya_社区 发布时间: 20180731
...i.UIConfig.packageFileExtension = "json"; Laya.loader.load([ { url: "res/Basics_atlas0.png", type: Laya.Loader.IMAGE }, { url: "res/Basics.json", type: Laya.Loader.BUFFER } ], Laya.Handler.create(this, this.onLoaded)); } onLoaded(): void { console.log('===================ss...
来源: Laya_社区 发布时间: 20191030
...r.width / colCount; mSpacingY = Browser.height / rowCount; mTexturePath = "res/skeleton/" + fileName + "/" + fileName + ".png"; mAniPath = "res/skeleton/" + fileName + "/" + fileName + ".sk"; Laya.loader.load([{ url: mTexturePath, type: Loader.IMAGE }, { url: mAniPath, type: Loader.BUFFER }], Handle...
来源: Laya2.0_示例 发布时间: 20251130
...Box = new Laya.SkyBox(); skyBox.textureCube = Laya.TextureCube.load("../../res/threeDimen/skyBox/skyBox2/skyCube.ltc"); camera2.sky = skyBox; var directionLight = scene.addChild(new Laya.DirectionLight()); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/...
来源: Laya_示例 发布时间: 20251130