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

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

181. 1.7.6版本 刚体动画加载 [ 69%]

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

182. unity导出的3D动画模型,导入 laya环境报错: node._setParent is not a function [ 69%]

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

183. 飞机大战实战(第四讲)中的机身居中问题 [ 69%]

...法理解,还不如设置轴心点容易理解. 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

184. 图集动画没有显示 [ 69%]

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

185. layaAir中Animation无法获得宽高,很多逻辑无法判断 [ 69%]

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

186. 微信小游戏运行导出项目的时候报错:Scene: the .lh file root type must be Scene [ 69%]

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

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

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

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

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