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

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

1. 骨骼动画-适配版Spine [ 100%]

...Stage = Laya.Stage; var Event = Laya.Event; var Stat = Laya.Stat; var SpineTemplet = Laya.SpineTemplet; class SpineBinary { constructor() { this.aniPath = "res/bone/spineboy-pma.skel"; this.index = -1; Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya....

来源: Laya2.0_示例 发布时间: 20241117

2. 骨骼动画-藤蔓 [ 97%]

...ge.bgColor = "#ffffff"; Stat.show(); this.startFun(); } startFun() { const Templet = Laya.Templet, Event = Laya.Event; const mAniPath = "res/spine/spineRes5/vine.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFacto...

来源: Laya2.0_示例 发布时间: 20241117

3. 骨骼动画-橡胶人 [ 97%]

...ge.bgColor = "#ffffff"; Stat.show(); this.startFun(); } startFun() { const Templet = Laya.Templet, Event = Laya.Event; const mAniPath = "res/spine/spineRes4/stretchyman.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError);...

来源: Laya2.0_示例 发布时间: 20241117

4. 骨骼动画-多纹理 [ 96%]

...ge.bgColor = "#ffffff"; Stat.show(); this.startFun(); } startFun() { const Templet = Laya.Templet, Event = Laya.Event; const mAniPath = "res/spine/spineRes1/dragon.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFac...

来源: Laya2.0_示例 发布时间: 20241117

5. 骨骼动画-Spine事件 [ 95%]

...lSprite = new Sprite(); Stat.show(); this.startFun(); } startFun() { const Templet = Laya.Templet, Event = Laya.Event; const mAniPath = "res/spine/spineRes6/alien.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFact...

来源: Laya2.0_示例 发布时间: 20241117

6. 骨骼动画-换装 [ 93%]

...ge.bgColor = "#ffffff"; Stat.show(); this.startFun(); } startFun() { const Templet = Laya.Templet, Event = Laya.Event; const mAniPath = "res/spine/spineRes2/goblins.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFa...

来源: Laya2.0_示例 发布时间: 20241117

7. 性能测试-骨骼 [ 89%]

...s, this.onAssetsLoaded)); } onAssetsLoaded() { const Loader = Laya.Loader, Templet = Laya.Templet, Event = Laya.Event; let tTexture = Loader.getRes(mTexturePath); let arraybuffer = Loader.getRes(mAniPath); mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.pars...

来源: Laya2.0_示例 发布时间: 20241117