大约有 383 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0038 秒)
Laya_社区(319) Laya2.0_文档(40) Laya3.0_文档(12) Laya2.0_示例(4) Laya_示例(4) Laya3.0_api(2) Laya2.0_api(2)
...。如下例所示: ```json MiniAdpter.nativefiles = [ "wxlocal", "res/atlas/houzi.atlas", "res/atlas/houzi.png", "common/tishi.png", "common/bg.png", "ui.json", "newLb/bg031.png" ]; ``` **只要是MiniAdpter.nativefiles里存在的目录名或文件,引擎会自动将该目录视为本地目录...
来源: Laya2.0_文档 发布时间: 20210715
...tions/LayaAirIDE_beta.app/Contents/Resources/app/out/vs/layaEditor/libs/TP/atlas-generator" -S 2048 -s 512 "/Users/passionzhang/Develop/wegame/wordwar/laya/assets/comp" -o "/Users/passionzhang/Develop/wegame/wordwar/laya/assets/atlas" --dataFormat json --scale 1 --force newPro.js:1251 nullQCommandLi...
来源: Laya_社区 发布时间: 20180204
...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