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

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

141. 关于多个小动画打包到一个图集动画的问题 [ 83%]

...名称贴好然后直接使用,然而我把图集的.json跟.png还有.atlas这三个文件拿出来,不用IDE做,去下载一个layaAir引擎,然后用引擎去实现播放这两组动画 cuixueying • 2017-03-30 17:30 一样的,还是通过Animation.createFrames去创建动画,图集...

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

142. 报错 Laya 的标识符中重复 [ 83%]

...aleMode = "showall"; Laya.stage.bgColor = "#232628"; var res = [ {url:"res/atlas/loading.json",type:Laya.Loader.ATLAS}, //{url:"res/atlas/loading.png",type:Laya.Loader.IMAGE}, //{url:"res/atlas/loading/01.png",type:Laya.Loader.IMAGE} ]; Laya.loader.load(res); showact(); })(); 2016-12-30 添加评论...

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

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

... 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

144. 自动图集配置 · LayaAir3.4 · 引擎文档 · LAYABOX [ 83%]

...1、图集基础 1.1 什么是图集 在游戏开发中,图集(Texture Atlas)的全称是大图合集,是一种整合多张小图片为一张大图片的资源优化技术,具有减少DrawCall、减少纹理切换次数、减少I/O请求等优势。是2D产品类型用于提升渲染性能...

来源: Laya3.0_文档 发布时间: 20251128

145. LayaIDE2.1资源发布目录更改后,版本生成的version.json有误! [ 83%]

...文件夹A里比如,在项目设置里把资源发布目录改成bin/A/res/atlas,把index.html目录改成bin/A, 发布微信小游戏生成的version.json文件有问题,内容是"A/res/atlas/xxx.png":"A/res/atlas/xxx-xxxxxx.png" 正确的应该是 "res/atlas/xxx.png":"res/atlas/xxx-xxxxxx.p...

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

146. 最新的ResourceVersion发布以后加载的url不正确 [ 83%]

...源后增加了Hash后缀,比如某个文件发布后: release\web\res\atlas\ui\sharedcp094faf36.png 加上了094faf36的后缀   然后我启动游戏的流程如下: ResourceVersion.enable(     "version.json?" + Math.random(),     Handler.create(this, this.onVersonLoaded));   然而发...

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

147. clearRes好像没作用,或许我的用法不对 [ 83%]

...le.log("释放资源false")             Laya.loader.clearRes("res/atlas/comp.json", false);             Laya.loader.clearRes("res/atlas/comp.png", false);         }         if (e.keyCode == 66) {//B             console.log("释放资源 true")          ...

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

148. 1.6.2打包的图集不能使用 [ 82%]

...示longtime  。。在断点的情况下。 Laya.loader.load([{url: "res/atlas/longCard.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); 在onLoaded var textrue = Laya.loader.getRes(longcard/xxx.png)总是undedined。。。求解。。。 相关链接 : http://ask.layabox.com/quest...

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

149. [LayaAir3]LayaAir 3.2.4 生成抖音小游戏,有场景预加载资源会报错 [ 82%]

...自: 和平台没关系,这样搞,怎么发布都会报错。 spine的atlas和我们引擎的atlas虽然同名,但不是同样的东西。所以我们根据这个名字,视为引擎的atlas加载就会报错。 正常的加载流程里,加载spine,不管是IDE的加载,还是代码加...

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

150. 微信小游戏资源总是加载旧的资源 [ 82%]

...ta   我是用这样的方式加载的图集 Laya.loader.load([{url: "res/atlas/xxx1.json", type: Loader.ATLAS},         {url: "res/atlas/xxx2.json", type: Loader.ATLAS},          {url: "res/atlas/xxx3.json", type: Loader.ATLAS}], Handler.create(...   并且在这之前已经加载并...

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