• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,584 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)

221. 性能测试-骨骼 [ 81%]

...(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

222. canvas下资源清理的问题 [ 81%]

...lick);                          Laya.loader.load([{url: "res/atlas/common.atlas", type: Loader.ATLAS}]);                          Stat.show();         }                  private function onClick(e:Event):void         {             ...

来源: Laya_社区 发布时间: 20180425

223. Laya.loader加载BUG [ 81%]

...查是否正在下载,避免网页reload         this.event("progress",0);          var type=this._type;         if (type=="plfb"){             this.parsePLFBData(data);             this.complete(data);         }else if (type=="plf"){    ...

来源: Laya_社区 发布时间: 20200427

224. 图集版本加载问题 [ 81%]

...载问题 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

225. Animation的createFrames为何加载不了有的图集资源 [ 81%]

...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

226. 微信小游戏设置网络动态加载无法显示 [ 81%]

...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

227. 在微信小游戏中使用list,兼听不到mouseHandler跟selectHandler。 [ 81%]

...路径 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

228. vivo小游戏 LayaIDE2.2.0使用fairygui报错 [ 81%]

...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

229. 性能测试-骨骼 [ 81%]

...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

230. 照相机-多照相机 [ 81%]

...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