大约有 486 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
...ivate */ __proto._computeFullKeyframeIndices=function(){ var anifullFrames=this._fullFrames=[]; var templet=this._templet; var cacheFrameInterval=this._cacheFrameRateInterval *this._cachePlayRate; //刚体动画时 templet 是AnimationClip对象 没有getAnimationCount方法!!! for (var i=0,iN...
来源: Laya_社区 发布时间: 20170630
...play(); chrome 调试: addChild(node) { if (!node || this.destroyed || node === this) return node; if (node._zOrder) this._setBit(Const.HAS_ZORDER, true); if (node._parent === this) { ...
来源: Laya_社区 发布时间: 20191203
...法理解,还不如设置轴心点容易理解. playAction(action): void { this.body.play(0, true, action); var bounds: Laya.Rectangle = this.body.getBounds(); //设置机身轴心从左上角到中心 this.body.pivot(bounds.width / 2, bounds.height / 2); //设置机身居中 //this.body.pos(-bounds...
来源: Laya_社区 发布时间: 20180206
... 'res/atlas/cloud.json'; Laya.loader.load(AniConfPath, Laya.Handler.create(this, this.createAnimation), null, Laya.loader.ATLAS); function createAnimation() { var ani = new Laya.Animation(); ani.loadAtlas(AniConfPath); ani.interval = 30; ani.index = 1; ani.play(); Laya.stage.addChild(ani); } 2017-09...
来源: Laya_社区 发布时间: 20170920
layaAir中Animation无法获得宽高,很多逻辑无法判断 this.animation = new Animation(); this.animation.loadAtlas( _path ); this.animation.interval = _speed; // 设置播放间隔(单位:毫秒) this.animation.play(); this.addChild( this.animation ); this.animation.width 一直为0 ...
来源: Laya_社区 发布时间: 20161117
...the .lh file root type must be Scene,please use other function to load this file.;at api readFile success callback function Error: Scene: the .lh file root type must be Scene,please use other function to load this file. at MyScene.__proto.onAsynLoaded (http://127.0.0.1:59022/game/code....
来源: Laya_社区 发布时间: 20180317
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
... 更改某一帧的 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
3d克隆报错,Uncaught AnimatorControllerLayer:this stat's name has exist. 我在3d模型动画里面,分割了动画片段。当我克隆的时候,就会报错。说我那个动画片段名称已存在。 附件 : --> 2020-05-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20200520
...须先设置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