• Runtimes
  • Control Spine Animation through HTML/CSS/Javascript only

  • Modificato
Related Discussions
...

Hi,

Hope everyone's having a great day so far! I was wondering if it's possible to control Spine animations on HTML/CSS/Javascript only? For example, if the user clicks on a button, which is a html element, the character smiles and animation transitions seamlessly rather than just changing gifs?

Would something like this work? https://github.com/ByKeks/Spine-EaselJS
or this? https://www.pixijs.com/
Thank you in advance! I'd appreciate any input.

Yes, of course it is possible 🙂 You've already identified two possible ways to do so via Spine-EaselJS, and pixi-spine. We also offer our own JavaScript runtime, see Spine Web Player. In addition to the Spine Player, we also have Canvas, WebGL, and ThreeJS runtimes, see our runtimes repository at https://github.com/esotericsoftware/spine-runtimes.

4 giorni dopo
badlogic ha scritto

Yes, of course it is possible 🙂 You've already identified two possible ways to do so via Spine-EaselJS, and pixi-spine. We also offer our own JavaScript runtime, see http://esotericsoftware.com/spine-player. In addition to the Spine Player, we also have Canvas, WebGL, and ThreeJS runtimes, see our runtimes repository at https://github.com/esotericsoftware/spine-runtimes.

Got it! Thank you very much!