How to add Spine animation to Phaser game?

2k Views Asked by At

I am new to Phaser and the whole javascript games, and I am trying to add Spine animation to Phaser. Is there a way to do that? I also tried to play my animation using Pixi.js and it worked. Also I know that Phaser is built on top of Pixi, can access Pixi directly from Phaser or I have to add both libraries into my project and use Pixi for Spine animation and use Phaser for other tasks? Any code samples would be very helpful.

1

There are 1 best solutions below

0
On

Old but just in case someone is looking, you should try to add https://github.com/pixijs/pixi-spine

Not using Phaser but an other engine using PIXI to for rendering and I made it work, same for all "PIXI plugins".