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

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

51. 动画-旧版骨骼动画 [ 77%]

...t3D; var skinAni = meshSprite3D.addComponent(Laya.SkinAnimations); skinAni.templet = Laya.AnimationTemplet.load(skinAniUrl[0]); skinAni.player.play(); } for (var i = 0, n = spirit3D._childs.length; i = [ "../../res/threeDimen/skinModel/Zombie/old/Assets/Zombie/Model/z@walk-walk.lsani", "../../res/th...

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

52. Vector3 is not a constructor [ 77%]

...么处理? 一直报 GamePage is not a constructor 急求解决 new Laya.Templet() 时,说这不是一个constructor 请问 2.x 提示 Laya.Templet is not a constructor 和 Laya.Skeleton is not a constructor 该如何处理 谢谢 报错,这不是个构造函数 "StartPage is not a constructor...

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

53. 使用对象池重复使用skeleton报错,请问有解决方案吗?谢谢 [ 76%]

... Laya.Skeleton() 就没问题。   伪代码: const ​temp = new Laya.Templet(); temp.parseData(xxx, xxx, 0);   // 从对象池中获取skeleton const skeleton = Laya.Pool.getItemByClass('abc', Laya.Skeleton); skeleton.init(temp, 0);   // skeleton使用完放入对象池 Laya.Pool.recover('ab...

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

54. spine动画放大后,遮罩显示不正常 [ 76%]

... }      loadActor(parent,path){         const         Templet = Laya.Templet,         Event = Laya.Event;         let mFactory = new Templet();         mFactory.on(Event.COMPLETE, this, this.parseComplete,[parent,mFactory]);         mFactory.on(Ev...

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

55. 龙骨动画设置index的问题(bug) [ 76%]

龙骨动画设置index的问题(bug) var ske:Skeleton = new Skeleton(templete,1); ske.play("xxx",false); ske.index = 10; ske.pause(); ske.resume();   然后龙骨动画就从第10帧恢复播放,播放到最后一帧不会停,而会继续从头开始播放10帧才停       2018-08-17 ...

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

56. laya引擎AS3项目 如果在方法内创建龙骨动画是否需要清除 [ 76%]

...法内创建龙骨动画是否需要清除 比如我在方法内new新的Templet和Skeleton对象用于创建龙骨动画,并添加到一个全局的sprite上 项目运行时会频繁的调用此方法用于添加龙骨动画 不需要时只做了sprite.destroy(true) 请问这种方法是否会造...

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

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

...ineSkeleton = Laya.SpineSkeleton; import Loader = Laya.Loader; import SpineTemplet = Laya.SpineTemplet; const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { private skeleton: SpineSkeleton; private index: number = -1; public pageWidth: number; public pageHeight: n...

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

58. LayaAir2.0 beta3 对骨骼动画应用发光滤镜的问题 [ 75%]

...滤镜 this._spine.filters = [filter]; this.listAction.array = this._spine.templet._anis; this.listSlot.array = this._spine.templet.boneSlotArray; })   附件 : --> 2018-11-27 添加评论 已悬赏1元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

59. 关于SkinAnimations组件 [ 75%]

...ations组件 Laya.SkinAnimations这个组件,只能播放动作的时候就templet指定下吗? 比如我开始是Idel状态,我想在摇杆输入的时候切换跑的状态,只能重新指定templet吗? 2018-06-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

60. 播放骨骼动画 [ 74%]

...,播放骨骼动画掉帧厉害,怎么优化。 private factory:Laya.Templet; private avatar:Laya.Skeleton; this.factory = new Laya.Templet(); this.factory.on(Laya.Event.COMPLETE, this, this.parseComplete); this.factory.on(Laya.Event.ERROR, this, this.onError); this.factory.loadAni("sp/aa.sk"); ...

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