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

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

71. 资源发布目录以及efc动效获取资源路径的问题。 [ 79%]

...liuhang_1988 • 2017-11-22 11:28 我现在是资源发布目录在bin/res/atlas, html发布目录在bin/res。但是分离模式的efc文件会把json文件输出到bin目录,part文件输出到bin/res。而且,part的资源默认获取路径也是在bin目录下,我是想这个json也输出...

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

72. atlas目录下.json文件与.atlas的区别 [ 78%]

atlas目录下.json文件与.atlas的区别 在编辑模式下按F12导出时,bin/res/atlas下会生成comp.png和comp.atlas文件,但看教学视频中,没有生成.atlas文件,而是生成了.json文件,这两个文件有什么区别,两个文件的内容除了格式外是一样的,...

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

73. 启用版本管理后,Laya.loader.load加载在微信web开发者工具触发不了回调 [ 78%]

...启用版本管理后,文件都带了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/Bottom_article.png", type: Laya.Loader.IMAGE}, {url: "res/atlas/hall/login.atlas", type: Laya.Loa...

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

74. Resources already exist 加载动画资源时候,遇到这个提示 [ 78%]

...集动画, 动画地址是: P:/H5-WorkSpace/LayaTest/bin/res/AAAA/stand/0.atlas (这张atlas是通过2张图片打成的图集, 图片名是0.png和1.png) 2.创建另外一个animation对象, 加载另外一个动画, 地址是 P:/H5-WorkSpace/LayaTest/bin/res/BBBBB/stand/0.atlas (这张atlas也是...

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

75. 请教下微信小游戏的内存和数据缓存? [ 78%]

... 2018-01-22 10:37 let resArray: Array<any> = [ { url: hyip+"res/atlas/comp/01_shouye.json", type: Loader.ATLAS }, { url: hyip+"res/atlas/comp/02_zhujiemian.json", type: Loader.ATLAS }, { url: hyip+"res/atlas/comp/30_loading.json", type: Loader.ATLAS }, ]; Laya.loa...

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

76. 进行预加载,每次进入游戏都会重新加载一次 [ 78%]

...预加载,每次进入游戏都会重新加载一次 ar images = ["res/atlas/" + lang + "/shz_images.png","res/atlas/shz_line.png", "res/atlas/" + lang + "/shz_nav.png"。。。。。。。】 用这个进行预加载 Laya.loader.load(images, null, Laya.Handler.create(this, onImagesProgress, null,...

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

77. XMLHttpRequest cannot load [ 78%]

...42 XMLHttpRequest cannot load file:///F:/Laya/Project/firstGame/bin/h5/res/atlas/comp.json. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.__proto.send @ firstGame.max.js:9742 firstGame.max.js:9137 [warn]Retry to ...

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

78. 按照打地鼠教程来无法正常加载资源 [ 78%]

...      var resArr:Array = [                 {res:"res/atlas/ui.atlas"},                 {res:"res/ui/back.png",type:Loader.IMAGE}             ];             Laya.loader.load(resArr,Handler.create(this,this.onLoaded));         }  ...

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

79. Laya.URL.basePath加载不到网络资源 [ 78%]

Laya.URL.basePath加载不到网络资源 var resArray = [ { url: "res/atlas/images.atlas", type : Laya.Loader.ATLAS}, // { url: "res/swf/flash.json", type: Laya.Loader.JSON}, // { url: "images/background.png", type : Laya.Loader.IMAGE}, ];   Laya.loader.load(resArray, Laya.Handler.create(this, th...

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

80. IDE发布之后,在res下并没有任何资源,这是什么情况啊? [ 78%]

...的地方),资源路径写错了。改成 Laya.loader.load("res/atlas/Resources.json",laya.utils.Handler.create(this,this.onReader),null,laya.net.Loader.ATLAS);就好了 Buzhihew • 2017-01-11 15:50 @Monica:.......我.....总之谢谢啊啊啊 Monica • 2017-01-11 15:51 @Buzhihew:不...

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