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

大约有 717 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0044 秒)

361. 加载时间轴动画报错 [ 67%]

...画报错 代码如下: 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:Cannot read property '...

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

362. 时间轴动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 67%]

.../`目录下。动画中用到的资源图集位于`项目根目录/bin/res/atlas/`目录下,如图28所示。 ![28](img/28.png)(图28) ### 3.2 在项目中使用时间轴动画 在项目中使用时间轴动画主要分为三步。 第一步:加载动画所需的图集。 ```typescript //加载...

来源: Laya2.0_文档 发布时间: 20210715

363. laya.spine.js问题以及spine.core.js问题 [ 67%]

..., (state, responseText) => { this.errors[path] = `Couldn't load texture atlas ${path}: status ${status}, ${responseText}`; if (error) error(path, `Couldn't load texture atlas ${path}: status ${status}, ${responseText}`); this.toLoad--; this.loaded++; }); 附件 : --> 2022-01-22 添加评论 免...

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

364. Laya.Script _start和_update以及_lateupdate不执行是什么原因呢? [ 67%]

...原因导致的吗? 怎样解决? IDE中自动打包图集后最后在res/atlas中只有json和png没有atlas,不知道原因是什么 资源管理器中的图片个别显示不打包,是不是不能打包到图集中了?这个是什么原因造成的呢?如何避免? lineCap不起作用...

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

365. 微信小游戏下载png为什么不带MD5? [ 67%]

...,发现第一个场景loadingScene加载后会自动下载里面用到的atlas(comp4e6089ba.atlas),但是下载的png却是comp.png而不是compd042ffba.png, 看laya.core.js发现: 这是我们哪里设置有问题吗? 附件 : --> 2019-02-28 添加评论 免费帖 --> 分享 微博 QZ...

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

366. Laya.loader加载BUG [ 67%]

...ed(null);             return;         }   而type 是 atlas   __proto.onLoaded=function(data){         //add by yeyq, 检查是否正在下载,避免网页reload         this.event("progress",0);          var type=this._type;         if (type=...

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

367. 求教新问题,关于Web版发布的问题 [ 67%]

...,终于找到问题所在,问题出在IIS的 MIME类型上。将json和atlas添加进去,问题就解决了。 希望和我遇到相同问题的朋友少走弯路。 2018-03-09 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 你有预加载资源吗?f12看到什么报错了? 2018-0...

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

368. 预加载结束之后还是报lose skin [ 67%]

...之后还是报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); } private onAssetL...

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

369. json图片中带有pivot属性无效吗 [ 67%]

...int在微信小游戏中无效 1.7.20beta有bug,帧属性面板打不开 atlas目录下.json文件与.atlas的区别 问题状态 最新活动: 2017-09-07 10:04 浏览: 873 关注: 2 人

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

370. 2.4版本发布微信版本 勾选版本管理加载时候没有代md5后缀 [ 67%]

...: 2 人 有点感人 • 2019-12-03 11:11 图片加载路径应该是res/atlas/test-96f7a10df7.png, 而在微信环境加载的路径是res/atlas/test.png,没有md5这个后缀,加载不到这个图片。 176*****376 • 2019-12-03 11:18 我也是同样的问题 176*****376 • 2019-12-03 15:04 ...

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