大约有 342 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0048 秒)
头条小游戏二进制文件加载失败 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
...工具构建和发布项目 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 合并小图片 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 1.7.15 小游戏3d 发布后在手机预览显示异常 问题状态 最新活动: 2018-01-24 13:12 浏览: 3827...
来源: Laya_社区 发布时间: 20180112
加载时间轴动画报错 代码如下: this.ani = new Laya.Animation(); this.ani.loadAtlas("res/atlas/comp.json", Laya.Handler.create(this, showApe)); function showApe(){ this.ani.loadAnimation("TimeLine.ani"); Laya.stage.addChild(this.ani); this.ani.play(); } 运行时报 TypeError:Can...
来源: Laya_社区 发布时间: 20171028
加载UI为什么总是加载白底 var LayaSample = (function(){ (function(){ //初始化引擎 Laya.init(750,1334); //设置stage颜色s Laya.stage.bgColor = "#ffffff"; //加载资源 Laya.loader.load("res/atlas/comp.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS) })(); function ...
来源: Laya_社区 发布时间: 20181220
预加载结束之后还是报lose skin private loadRes():void{ Laya.loader.load("./res/atlas/comp.atlas",Laya.Handler.create(this, this.onAssetLoaded),Laya.Handler.create(this, this.onLoading, null, false)); } private onLoading(progress: number): void { console.log("加载进度: " + progress); } ...
来源: Laya_社区 发布时间: 20180314
...复被折叠 要回复问题请先登录 发起人 fool_tiger 相关问题 加载到舞台的3D模型不显示贴图 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ 一个3D正方体模型,想给它六个面贴不同的贴图,...
来源: Laya_社区 发布时间: 20180606
加载模式下,如何下载不打包的图片? 项目设置为加载模式,会生成一个ui.json,还有ui.atlas和ui.png。 如果有大图片,bg.jpg不会放到ui.png里面。 这些资源都放到服务器,需要下载。 这时候,bg.jpg需要怎么下载呢? ui.atlas里面没...
来源: Laya_社区 发布时间: 20180427
...:Error:找不到文件:null 热更新有时候会漏掉或者没有正确加载某个js代码文件,导致游戏在运行中因找不到这个文件而报错了。 h5发布后,访问不到图片? 为什么找不到Laya.Config? 找不到CustomMaterial [ts] 找不到名称“Laya” 问题...
来源: Laya_社区 发布时间: 20190424
...的时候打包的大图是atlas后缀格式造成的,而默认例子里面加载的是json格式的: Laya.loader.load("res/atlas/comp.json", Handler.create(this, onAssetLoaded), null, Loader.ATLAS); 所有导致了图集位置错乱,麻烦技术修下这个bug. 建议ui编辑器默认就导出...
来源: Laya_社区 发布时间: 20171110
[LayaAir3]Laya3.2.7版worker加载图片404 分析代码发现,给worker传入的url变为atlas/comp/button.png 于是worker得到的url是http://localhost:18090/libs/atlas/comp/button.png,所以出现了404正确的url应该是http://localhost:18090/atlas/comp/button.png 附件 : --> Laya3.2_....
来源: Laya_社区 发布时间: 20250701