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

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

31. 请问 2.x 提示 Laya.Templet is not a constructor 和 Laya.Skeleton is not a constructor 该如何处理 谢谢 [ 85%]

请问 2.x 提示 Laya.Templet is not a constructor 和 Laya.Skeleton is not a constructor 该如何处理 谢谢 2018-10-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 183*****470 赞同来自: 是我自己...

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

32. spine 播放错乱 [ 85%]

spine 播放错乱 templet: Laya.SpineTemplet; skeleton: Laya.SpineSkeleton; index = 0; private startFun(): void { //创建动画模板 this.templet = new Laya.SpineTemplet(); this.templet.loadAni("spine/10101001.json"); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.o...

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

33. laya.ani.bone.Templet_API3.0 [ 85%]

...rotected All Inherited Externals Only exported Menu Globals "laya/ani/bone/Templet" Templet Class Templet 动画模板类 Hierarchy AnimationTemplet Templet Index Constructors constructor Properties _id aniSectionDic bindBoneBoneSlotDic boneSlotArray boneSlotDic deformAniArr destroyedImmediately dra...

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

34. Skeleton骨骼动画内存泄漏 [ 84%]

...会一直往上升,降不下来。 核心代码如下: private te:Laya.Templet; private sk:Laya.Skeleton; private onKeyDown(e):void{ if(e.keyCode == 49 || e.keyCode == 97){ if(this.te == null){ this.te = new Laya.Templet(); this.te.on(Laya.Event.COMPLETE, this, this.teComplete); this.te.loadAni(...

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

35. 加载SPINE骨骼动画资源无法为png指定版本号 [ 84%]

...为png指定版本号 加载骨骼动画资源无法为png指定版本号 Templet类的loadAni方法,传的参数是sk文件的路径,可以给sk加版本号,例如: a.sk?v=2; 底层会自动读取sk需要的png文件 但是加载的图片是a.png,并没有带版本号 出现的问题: ...

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

36. spine骨骼动画如何获取某个骨骼的坐标 [ 84%]

...ipIndex(nameOrIndex); var curOriginalData:Float32Array = new Float32Array(_templet.getTotalkeyframesLength(aniClipIndex));   var interval:Number = 1000.0 / _player.cacheFrameRate; var playTime:Number = _templet.getAniDuration(aniClipIndex); var lenJ:int = playTime / interval; for (var j:int = 0; j ...

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

37. Dragonbones龙骨动画 播放不同动作出现闪烁 混乱 [ 83%]

...(complete) { this.completeHandler = complete; } this.aniUrl = aniUrl; this.templet = new Templet(); this.templet.on(Event.COMPLETE, this, this.parseComplete); // this.templet.on(Event.ERROR, this, this.onError); this.templet.loadAni(this.aniUrl); this.maskBox.graphics.drawRect(0,0,this.width,this.he...

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

38. 分享:销毁龙骨动画! [ 83%]

...骨动画! package { import laya.ani.bone.Skeleton; import laya.ani.bone.Templet; import laya.display.Sprite; import laya.events.Event; import laya.utils.Browser; import laya.utils.Stat; import laya.webgl.WebGL; public class ASDemo { private var mAniPath:String; private var mFactory:Templet; priva...

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

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

...下面的示例代码中有一段代码 ```typescript this.skeleton = this.templet.buildArmature(); ``` 与内置版Spine动画播放模式不同的地方在于内置版我们需要传一个参数来确认使用哪种模式(三种模式中,0:不支持换装,1,2支持换装),而在适配版...

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

40. spine动画,微信模拟器正常,真机动画图片颠倒!!!引擎大bug!!! [ 82%]

...ya.loader.load("res/atlas/comp/skeleton.atlas"); //创建动画模板 this.templet = new Laya.Templet(); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError); this.templet.loadAni("comp/skeleton/spineboy.sk"); } protected onExit() {}; ...

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