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

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

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

...neVersion.v3_8); this.templet.loadAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError); } parseComplete() { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Browser.width / 2,...

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

2. 骨骼动画-多纹理 [ 99%]

...es/spine/spineRes1/dragon.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(mAniPath); } onError() { trace("error"); } parseComplete() { // 创建模式为1,使用动画自己的缓冲区,可以启...

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

3. 骨骼动画-藤蔓 [ 99%]

..."res/spine/spineRes5/vine.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(mAniPath); } onError() { trace("error"); } parseComplete() { const Event = Laya.Event; // 创建模式为1,使用动画自...

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

4. 骨骼动画-橡胶人 [ 99%]

...ine/spineRes4/stretchyman.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(mAniPath); } onError() { trace("error"); } parseComplete() { const Event = Laya.Event; // 创建模式为1,使用动画自...

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

5. 骨骼动画-换装 [ 97%]

...s/spine/spineRes2/goblins.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(mAniPath); } onError() { trace("error"); } parseComplete() { const Event = Laya.Event; // 创建模式为1,使用动画自...

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

6. 骨骼动画-Spine事件 [ 94%]

...res/spine/spineRes6/alien.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, this.parseComplete); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(mAniPath); } onError() { trace("error"); } parseComplete() { const Event = Laya.Event; // 创建模式为1,使用动画自...

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