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

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

21. 为何发生此类报错Uncaught TypeError: Cannot read property '_tf' of null [ 85%]

...oad([ {url:"res/Public.fui",type:laya.net.Loader.BUFFER}, {url:"res/Public@atlas_ucn9w.png",type:laya.net.Loader.IMAGE}, {url:"res/Public@atlas_ucn90.png",type:laya.net.Loader.IMAGE}, {url:"res/Public@atlas0.png",type:laya.net.Loader.IMAGE}, {url:"res/Public@sl4615.mp3",type:laya.net.Loader.SOUND} ]...

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

22. 微信小游戏加载ProtoBuf文件和图片加载问题 [ 84%]

...,也不会报错。 var loadArr:Array = new Array; loadArr= [{url: "res/atlas/hall_new.json", type: Loader.ATLAS}, // {url: "res/atlas/help.json", type: Loader.ATLAS},  // {url: "res/atlas/shop.json", type: Loader.ATLAS}, // {url: "shmjAssets/扣牌文字背景.png", type: Loader.IMAGE}, //这张...

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

23. 加载的时候动画会卡 [ 83%]

...url:"cont/cpy1.jpg",type:Loader.IMAGE});         imgArr.push({url:"res/atlas/cont.json",type:Loader.ATLAS});         Laya.loader.load(imgArr,Handler.create(this,onAssetLoaded),Handler.create(this,onProgress,null,false));     }   (function() {     function Lload() {         Lload.__s...

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

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

...() { //初始化引擎 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/monsterbeattack/1....

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

25. 分享:IDE使用SWF动画的销毁与反复创建 [ 83%]

...体结构请参考附件             Laya.loader.load([{url: "res/atlas/flicker/image.json", type: Loader.ATLAS}], Handler.create(this, onLoaded));         }         private function onLoaded():void {             //实例UI界面             var testView:TestVi...

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

26. 头条小游戏二进制文件加载失败 [ 83%]

... { url:"res/Bag.xml", type:Laya.Loader.BUFFER},         { url:"res/Bag_atlas0.png", type:Laya.Loader.IMAGE },         { url:"res/Bag_atlas0_1.png", type:Laya.Loader.IMAGE},                   ], Laya.Handler.create(this, this.onLoaded));     调用这个方法后,头条游戏报...

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

27. canvas下资源清理的问题 [ 82%]

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

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

28. 微信小游戏图片加载不出来 [ 82%]

...r.IMAGE }, { url: "ui/BG/load.png", type: Laya.Loader.IMAGE }, { url: "res/atlas/comp.atlas", type: Laya.Loader.ATLAS }, { url: "res/atlas/ui.atlas", type: Laya.Loader.ATLAS }, ]; Laya.loader.load(resArray, Laya.Handler.create(this, this.onLoaded)); Laya.loader.create("ui/BG/play-bg.png", Laya.Handl...

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

29. fairygui 生成的二进制文件在头条界面加载后得到的数据是空的 [ 82%]

...后得到的数据是空的 Laya.loader.load([         { url:"res/Bag_atlas0.png", type:Laya.Loader.IMAGE },         { url:"res/Bag_atlas0_1.png", type:Laya.Loader.IMAGE},         { url:"res/Bag.xml", type:Laya.Loader.BUFFER}          ], Laya.Handler.create(this, this.onLoaded));  ...

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

30. ATLAS 打包可否選擇是JPG圖集還是PNG圖集 [ 81%]

ATLAS 打包可否選擇是JPG圖集還是PNG圖集 一般按下導出都會產生atlas、png、json檔,能夠選擇讓導出時是atlas、jpg、json檔嗎? 有些圖不需要透空效果,打包成JPG格式會比PNG格式小上許多。 2017-07-26 添加评论 免费帖 --> 分享 微博 QZON...

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