大约有 580 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)
...i"); //添加到舞台 Laya.stage.addChild(tl); //播放Animation动画 tl.play("attack2"); } 但总是从第一帧开始播放 改为 tl.play("attack2",true,"actor1"); 连动画都显示不出了 请问是哪里出了问题? 附件 : --> 2018-09-15 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20180915
...题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() FB playable Ad 上传zip成功到facebook,广告播放之后,demo不运行? 问题状态 最新活动: 2019-08-30 14:48 浏览: 1091 关注: 1 人
来源: Laya_社区 发布时间: 20190830
...并且设置不要重复播放 this.mArmature.on(Event.STOPPED, this, this.playStanding); this.mArmature.play("standing",false);//设置为false 不重复播放动画播放完成后在播放一次,依次循环…… 这样就没有抖动了 附件 : --> 2019-05-21 添加评论 免费帖 --> 分享...
来源: Laya_社区 发布时间: 20190521
...elentAutio: HTMLAudioElement; constructor(){ super(); this.btn_play.on(Laya.Event.CLICK, this, this.onPlay); this.elentAutio = <HTMLAudioElement>document.createElement('audio'); this.elentAutio.src="res/10.mp3"; } onPlay():void{ this.elentAutio.play(); } 由于...
来源: Laya_社区 发布时间: 20170217
...调么用回调。 调用方式如下无法收到COMPLETE事件: skinAni.player.play(0, 1, 0, param.start, param.end); skinAni.player.on(Laya.Event.COMPLETE, null, function(){ console.log("COMPLETE"); }); 2017-03-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20170314
...玩一玩暂时是用不了吗?播放的时候报错误:TypeError: tSound.play is not a function. (In 'tSound.play(startTime,loops)', 'tSound.play' is undefined)
来源: Laya_社区 发布时间: 20180328
...不行 this.mAni.on(Laya.Event.COMPLETE,this,this.aniComplete); this.mAni.play("free") aniComplete(type:number):void { this.mAni.play("ready"); } 播放完指定动画后,这个回调不执行。 附件 : --> pkwang3D.rar 2017-11-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20171116
...题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() LayaAir3D 导出和使用U3D粒子特效 问题状态 最新活动: 2019-07-20 22:38 浏览: 1413 关注: 3 人 码路 • 2018-08-08 20:29 多谢 码路 • 2018-08-09 18:05 从unity中导出的粒子类型是ShuriKenP...
来源: Laya_社区 发布时间: 20180807
... new Laya.Skeleton(); skeleton.load("spine/feiyangyang_2.sk"); // skeleton.play(0,true);//播放不了别的 this.owner.addChild(skeleton); skeleton.pos(500,500); 哪里写的有问题 大佬看看 2019-06-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...
来源: Laya_社区 发布时间: 20190618
... 3 个回复 Monica - 知识达人 赞同来自: shaotianhk SoundManager.playSound或者 SoundManager.playMusic会返回一个SoundChannel实例。你可以声明一个变量来接收它,然后通过SoundChannel来控制播放、停止、暂停。具体代码如下所示: var soundC:SoundChanne...
来源: Laya_社区 发布时间: 20180312