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

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

271. 如何清理预加载的图集资源??? [ 79%]

如何清理预加载的图集资源??? 通过 Laya.loader.load("res/atlas/公告.json", Laya.Handler.create(null, onLoad), null, Laya.Loader.ATLAS); 这样加载的图集资源怎么清除掉??? 2018-01-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

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

...rt laya.ani.AnimationState; import laya.display.Animation; import laya.net.Loader; import laya.ui.Image; import laya.utils.Handler; import view.TestView; public class LayaUISample { public function LayaUISample() { //初始化引擎 Laya.init(600, 400); //Laya.loader.load([{url: "res/atlas/char_wuda...

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

273. Laya2.6.0 升级至Laya2.8.0 Native环境 加载ttf 字体不生效 [ 79%]

...ont1Req =  new Promise((resolve => {             Laya.loader.load("res/fonts/OPPOSANS-R.TTF", Laya.Handler.create(this, (success: boolean) => {                 if (!success) {                     console.error("OPPOSANS-R ttf 字...

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

274. 3d特效克隆时,在手机会现卡顿情况,特效资源已经提前在加载 [ 79%]

...EFFECT_PATH_3D+url;             var itemComplete:Sprite3D =  Laya.loader.getRes(_path);             if(itemComplete == null || itemComplete.loaded == false){                 var groupName:String = null;                 if(isGroup == true){           ...

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

275. LayaAir1.7.19.1 Beta预加载资源出问题 [ 79%]

...好好的有下载好的。 请问这个问题怎么解决。还有那个loader callback cost a long time怎么搞。 附件 : --> 2018-07-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自:...

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

276. 声音文件的释放 [ 79%]

...件的释放 SoundManager.destroysound("allResources/backmusic.mp3"); Laya.loader.clearRes("allResources/backmusic.mp3",true); 这2个写法是一个意思吗 还是说 释放音乐必须要写两句 2019-01-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...

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

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

...Mode="horizontal"; //加载FGUI中的文件 var ProgressBar,resArray; Laya.loader.load([ {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_社区 发布时间: 20171207

278. button图片丢失 [ 79%]

...的链接 提交 3 个回复 cuixueying 赞同来自: 189*****192  Laya.loader.load([{url:"res/atlas/comp.json",type:Loader.ATLAS},{url:"comp/btn_queding.png",type:Loader.IMAGE}], Handler.create(this, onAssetLoaded), null);comp.json是预加载的图集下的资源,你既然是不打包,表示...

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

279. 报错 Laya 的标识符中重复 [ 79%]

...e.bgColor = "#232628"; var res = [ {url:"res/atlas/loading.json",type:Laya.Loader.ATLAS}, //{url:"res/atlas/loading.png",type:Laya.Loader.IMAGE}, //{url:"res/atlas/loading/01.png",type:Laya.Loader.IMAGE} ]; Laya.loader.load(res); showact(); })(); 2016-12-30 添加评论 免费帖 --> 分享 微博 Q...

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

280. 3D粒子现在支持Render Mesh吗? [ 79%]

...   at Function._getSprite3DHierarchyInnerUrls (laya.d3.js:31462)     at Loader._onHierarchylhLoaded (laya.d3.js:31477)     at EventHandler.runWith (laya.core.js:999)     at Loader.event (laya.core.js:1038)     at Loader.complete (laya.core.js:18719)     at Loader.onLoaded (laya.core.js:18...

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