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

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

31. 我二进制资源load之后,为什么通过getRes获取不到。 [ 86%]

...下: var resources = [ { url: "res/atlas/images/guide.atlas", type: Laya.Loader.ATLAS }, { url: "config/data.txt", type: Laya.Loader.BUFFER }]; Laya.loader.load(resources, Handler.create(this, this.onComplete), Handler.create(this, this.onProcess), null, 1, false); } onComplete(e,a,b) { console.lo...

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

32. 发布h5项目,在浏览器上初始加载资源过多导致卡顿怎么优化 [ 86%]

...3-30 10:47 你预加载资源怎么写的 yaorao • 2018-03-30 11:29 Laya.loader.load([ { url: "res/common@atlas0.png", type: Loader.IMAGE }, { url: "res/common.fui", type: Loader.BUFFER }, { url: "res/game@atlas0.png", type: Loader.IMAGE }, { url: "res/game.fui&q...

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

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

...创建 package {     import laya.events.Event;     import laya.net.Loader;     import laya.utils.Handler;     import view.TestView;          public class LayaUISample {                  public function LayaUISample() {             //初始化引擎        ...

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

34. 加载配置json文件不成功!json文件放在bin目录下的 [ 86%]

加载配置json文件不成功!json文件放在bin目录下的   Laya.loader.load(["res/atlas/comp.atlas","res/atlas/popup.atlas","res/atlas/cartoon.atlas","res/atlas/miner.atlas","gameConf.json"],Laya.Handler.create(this,onloaded),null,null); 2018-07-23 添加评论 免费帖 --> 分享 微博...

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

35. 怎么在api中找到 Laya.loader.load [ 86%]

怎么在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

36. 版本管理swf找同名的Json文件发现找不到 [ 85%]

...ist=[this];             var data;             data=Loader.getRes(this['_url']);             if (!data){                 this.event(/*laya.events.Event.ERROR*/"error","file not find");                 return;             ...

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

37. handler携带的参数在回调函数里面怎么获取? [ 84%]

...请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: Laya.loader.load("res/atlas/war/hero.atlas", Handler.create(this, this.onLoad), null, Loader.ATLAS); 什么意思,, 2018-03-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 ...

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

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

...成的二进制文件在头条界面加载后得到的数据是空的 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}          ], Lay...

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

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

头条小游戏二进制文件加载失败 Laya.loader.load([         { 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.c...

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

40. “\bin”下的res文件夹删除了,里面的atlas文件该怎么生成? [ 84%]

...地图显示有误 lh文件内meshSprite添加阴影属性无效 请问下loader如何强制加载一个文件,避免浏览器的缓存 微信小程序 发布后缺少app.json文件 IDE通过.ui自动生成的ui代码报错 问题状态 最新活动: 2018-01-24 00:22 浏览: 1177 关注: 1 人

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