大约有 118 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0038 秒)
...下: 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
...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
...创建 package { import laya.events.Event; import laya.net.Loader; import laya.utils.Handler; import view.TestView; public class LayaUISample { public function LayaUISample() { //初始化引擎 ...
来源: Laya_社区 发布时间: 20170608
加载配置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
怎么在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
...ist=[this]; var data; data=Loader.getRes(this['_url']); if (!data){ this.event(/*laya.events.Event.ERROR*/"error","file not find"); return; ...
来源: Laya_社区 发布时间: 20180615
...请: 与内容相关的链接 提交 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
...成的二进制文件在头条界面加载后得到的数据是空的 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
头条小游戏二进制文件加载失败 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
...地图显示有误 lh文件内meshSprite添加阴影属性无效 请问下loader如何强制加载一个文件,避免浏览器的缓存 微信小程序 发布后缺少app.json文件 IDE通过.ui自动生成的ui代码报错 问题状态 最新活动: 2018-01-24 00:22 浏览: 1177 关注: 1 人
来源: Laya_社区 发布时间: 20180124