大约有 370 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)
Laya_社区(320) Laya2.0_文档(33) Laya3.0_文档(8) Laya2.0_示例(3) Laya_示例(3) Laya3.0_api(2) Laya2.0_api(1)
...liuhang_1988 • 2017-11-22 11:28 我现在是资源发布目录在bin/res/atlas, html发布目录在bin/res。但是分离模式的efc文件会把json文件输出到bin目录,part文件输出到bin/res。而且,part的资源默认获取路径也是在bin目录下,我是想这个json也输出...
来源: Laya_社区 发布时间: 20171122
atlas目录下.json文件与.atlas的区别 在编辑模式下按F12导出时,bin/res/atlas下会生成comp.png和comp.atlas文件,但看教学视频中,没有生成.atlas文件,而是生成了.json文件,这两个文件有什么区别,两个文件的内容除了格式外是一样的,...
来源: Laya_社区 发布时间: 20180508
...启用版本管理后,文件都带了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
...集动画, 动画地址是: 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
... 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
...预加载,每次进入游戏都会重新加载一次 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
...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
... 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
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
...的地方),资源路径写错了。改成 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