大约有 92 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0052 秒)
...Array = [ //{ url: "https://piggy.com/res/atlas/images.atlas", type : Laya.Loader./png}, { url: "https://piggy.com/res/atlas/images.atlas", type: Laya.Loader.ATLAS }, { url: "https://piggy.com/res/swf/flash.json", type: Laya.Loader.JSON }, { url: "images/background.png", type: Laya.Loader.IMAGE }, {...
来源: Laya_社区 发布时间: 20180613
...dData = [ { "url": 'res/atlas/main.atlas', "type":Laya.loader.ATLAS }, { "url": 'res/atlas/newUser.atlas', "type":Laya.loader.ATLAS }, { 'url': "res/atlas/role_skin.atlas", "type":Laya.loader.ATLAS }, { 'url': "res/atlas/number.atlas&q...
来源: Laya_社区 发布时间: 20180525
...。 想问下,是不是我加载的方式不对,是不是loader使用中还有其他特殊设置?我看很多人加载json的时候是单独加载的。但是我这里的加载除了json文件还有其他比如jpg,png,mp3等文件,都是写在同一个数组里的。这种情...
来源: Laya_社区 发布时间: 20170816
...图片加载不出来 var resArray = [{ url: "ui/BG/Start.png", type: Laya.Loader.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....
来源: Laya_社区 发布时间: 20181105
启用版本管理后,Laya.loader.load加载在微信web开发者工具触发不了回调 启用版本管理后,文件都带了hash, var resArray = [ {url: "res/atlas/common.atlas", type: Laya.Loader.ATLAS}, {url: "hall/1_login/login_bg.png", type: Laya.Loader.IMAGE}, {url: "hall/1_login/Bott...
来源: Laya_社区 发布时间: 20180426
Loader.ATLAS、sk格式连带加载png图时后面的?v=版本号不会更新如何解决? 如图,浏览器H5为了实现后台资源更新时前端可以及时更新,会在加载的资源后面写上?v=版本号之类的以达到目的,这个版本号肯定是在配置文件里,上...
来源: Laya_社区 发布时间: 20170603
出现这个怎么解决loader callback cost a long time:1530 2017-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: 这个是加载时间过长,可能由于网络有延迟或文件过...
来源: Laya_社区 发布时间: 20170307
...aya.display.Stage; import laya.events.Event; import laya.net.Loader; import laya.ui.Button; import laya.utils.Handler; import laya.utils.Stat; import ui.TaskUI; import view.TestView; public class LayaUISample { ...
来源: Laya_社区 发布时间: 20180425
...码 先预加载 skinsSecond.push( { url:"allResources/qfbutton.png", type:Loader.IMAGE }); 然后就是一些和服务器交互的操作了,在接到某一条数据,需要用到资源的时候的代码; for (var i:Number = 0; i < allArea.length;i++) { var but:Bu...
来源: Laya_社区 发布时间: 20170320
...ion): void { let uiResArray = [ { url: "res/atlas/common.json", type: Laya.Loader.ATLAS }, { url: "res/atlas/comp.json", type: Laya.Loader.ATLAS }, // 登录的UI和选角的UI { url: "res/atlas/user.json", type: Laya.Loader.ATLAS }, { url: resourcesCenter.ResourcesPathStr.PROTO_FILE_PATH, type: Lay...
来源: Laya_社区 发布时间: 20170905