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

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

91. Clip切片动画有无播放完成的回调方法?有无检测播放次的方法? [ 55%]

...如下方法,但是没有效果,求解。 this.clip_wpLevelup.on(Laya.Event.STOPPED, this, this.stopAndShowLvupResult); 2018-06-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: http:/...

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

92. Spine适配版(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 55%]

... SpineTempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError) } private function parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.ske...

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

93. Laya2.1 加载spine动画会随机出现抖动 [ 55%]

...的感觉;现在的暂时解决办法是设置只播放一次并且监听Event.STOPPED,动画播放完成之后在播放一次,依次循环来达到重复播放的效果 这样就不抖了   2019-05-21 0 1 分享 微博 QZONE 微信 kylin 赞同来自: 这个问题比较难调查,我们尽...

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

94. 动画-新版骨骼动画 [ 55%]

...("../../res/threeDimen/skinModel/Zombie/new/Zombie.lh")); zombie.once(Laya.Event.HIERARCHY_LOADED, this, function () { //获取Animator动画组件 zombieAnimator = zombie.getChildAt(0).getComponentByType(Laya.Animator); loadUI(); }); function loadUI() { var clipName = ["walk","attack","left_fall","...

来源: Laya_示例 发布时间: 20241001

95. laya.d3.webxr.core.WebXRSessionManager_API3.0 [ 55%]

...er Manages an XRSession to work with layaAir engine author miner Hierarchy EventDispatcher WebXRSessionManager Index Properties baseReferenceSpace currentFrame currentTimestamp defaultHeightCompensation session viewerReferenceSpace EVENT_FRAME_LOOP EVENT_MANAGER_END Accessors currentFrameRate refere...

来源: Laya3.0_api 发布时间: 20231115

96. 使用音频 · LayaAir3.0文档 · LAYABOX [ 54%]

...lay(0); //失去舞台焦点(切出游戏)的处理 Laya.stage.on(Laya.Event.BLUR, this, () => { _sound.stop(); }); //获得舞台焦点(切回游戏)的处理 Laya.stage.on(Laya.Event.FOCUS, this, () => { _sound.play(0); }); …… Copyright ©Layabox 2022 all right reserved,powered...

来源: Laya3.0_文档 发布时间: 20230718

97. laya.ui.Clip [ 54%]

...| All Classes | Index | Frames No Frames ClipProperties | Methods | Events Packagelaya.uiClasspublic class ClipInheritanceClip Component Sprite Node EventDispatcher ObjectSubclasses FontClip Clip 类是位图切片动画。 Clip 可将一张图片,按横向分割数量 clipX 、竖向分...

来源: laya_api 发布时间: 20170929

98. 动态阴影被切割了?为啥没有显示完成的阴影 [ 53%]

...age.SCREEN_NONE; //开启统计信息 Laya.Stat.show(); Laya.stage.on(Laya.Event.CLICK, this, mouseHandler); //添加3D场景 var scene = Laya.stage.addChild(new Laya.Scene()); function LayaAir3D() { //添加照相机 var camera = (scene.addChild(new Laya.Camera()));//0, 0.3, 100 camera.transform.tr...

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

99. 使用IDE制作的动画在pc模拟器播放OK在手机端不显示 [ 53%]

....Sprite(); Laya.stage.addChild(apesCtn); var _this = this; this.tl.on(this.Event.COMPLETE,this,function(){ _this.tl.stop(); }) console.log(this.tl) this.tl.interval = 1000 / 60; // this.tl.play(); apesCtn.addChild(this.tl); apesCtn.height = 1500; apesCtn.width = 3248; this.tl.pivot(-1624,-750); }, 2...

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

100. Laya3.0正式版spine3.8的动画资源不能正常显示 [ 53%]

...ageHeight / 2 + 100); this.skeleton.scale(0.4, 0.4); this.skeleton.on(Laya.Event.STOPPED, this, this.play); this.play(); }); } private play(): void { if (++this.index >= this.skeleton.getAnimNum()) { this.index = 0 } this.skeleton.play(this.index, false, true) } } 附件 : --> SpineTestProject.zi...

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