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

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

171. 1.7.19beta版播放音乐异常 [ 69%]

1.7.19beta版播放音乐异常 if (this.gain.gain.setTargetAtTime){ this.gain.gain.setTargetAtTime(this._volume,this.context.currentTime,0);一跑起来就在这里异常 "Failed to execute 'setTargetAtTime' on 'AudioParam': Time constant must be a finite positive number: 0"   在chrome里调试...

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

172. ani 如何 更改某一帧的 skin ,, [ 69%]

... 更改某一帧的 skin ,, ani 如何 更改某一帧的 skin ,, this.saizi.play(0,false); this.saizi.on(Event.LABEL,this,function(){ this.saizi.skin="game/room_xinxibg.png"; }); 2017-10-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

173. 动画添加了 滤镜,drawcall 次数暴增,这是为啥???? [ 69%]

...数暴增,这是为啥???? var url = App.animManager.getUrl(id); this.ani.loadAtlas(url,null,id); this.ani.alpha = 0.5; this.ani.play(0, true); var grayMat = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 ]; //创建一个颜色滤镜对象,灰图 var scaleFilter = new Laya...

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

174. EffectAnimation 可以将对象指定到Image,并用程式控制播放吗? [ 69%]

...须先设置target 再play let fly = new ui.com.fightflyUI; fly.target = this.ui.flyImg; fly.play(0,true); 2018-06-08 1 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: https://ldc.layabox.com/doc/?nav=zh-as-1-5-3 http://ldc.layabox.com/doc/?nav=zh-as-2-4-0 看看文档,多做尝试就知道...

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

175. 3d克隆报错,Uncaught AnimatorControllerLayer:this stat's name has exist. [ 69%]

3d克隆报错,Uncaught AnimatorControllerLayer:this stat's name has exist. 我在3d模型动画里面,分割了动画片段。当我克隆的时候,就会报错。说我那个动画片段名称已存在。 附件 : --> 2020-05-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

176. Spine动画最后一帧无法正常显示 [ 69%]

...后发现在Skeleton::_update方法中的以下语句:var tGraphics; if (this._aniMode == 0) { tGraphics = this._templet.getGrahicsDataWithCache(this._aniClipIndex, this._clipIndex) || this._createGraphics(); if (tGraphics && this.graphics != tGraphics) { this.graphics = tGraphics; } }决...

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

177. 代码定义动画剪辑播放报错 Uncaught Error: Animation:this clip has exist with another [ 69%]

代码定义动画剪辑播放报错 Uncaught Error: Animation:this clip has exist with another 代码定义动画剪辑播放报错 Uncaught Error: Animation:this clip has exist with another 附件 : --> 2017-10-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

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

...aded回调方法 Laya.loader.load("res/atlas/ui.atlas",Laya.Handler.create(this,this.onLoaded)); ``` 第二步:创建Animation实例,加载动画文件 ```typescript //创建一个Animation实例 var tl:Laya.Animation = new Laya.Animation(); //加载动画文件 tl.loadAnimation("TimeLine.ani");...

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

179. 手机调试时http请求错误,返回Request failed Status:0 [ 69%]

...new Laya.HttpRequest(); hr.http.timeout = 5000; hr.on(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); hr.once(Laya.Event.COMPLETE, this, (response)=>{ UIFactory.closeWaitBar(); this.onHttpRequestComplete(response); if(handleOk){ handleOk(response); } }); hr.once(Laya.Event.ERROR, this, (e...

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

180. Animation创建时无法获取高度 [ 69%]

...无法获取高度 var roleAni = new Laya.Animation(); roleAni.loadImages( this.aniUrls( v1, v2, tip, frames ) ).play(); roleAni.pos(x,y); this.root.addChild( roleAni ); roleAni.pivotY = roleAni.getBounds().height; console.log("---> ", roleAni.getBounds() ); 打印为 ---> Rectangle {x: 0, y:...

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