Jump to content

YJHyburdzMC
 Share

Recommended Posts

https://github.com/pixijs/pixi-spine

just take "pixi-spine.js" from "bin" folder, save to your project and put it in your html after "<script src="pixi.js">"

then copy output of spine (json atlas png) somewhere and use the same code as in https://github.com/pixijs/pixi-spine

As for all other features, please look up spine forums and http://esotericsoftware.com/spine-runtime-terminology , all things that are allowed in other spine runtimes (non-pixi) should work here too.

Link to comment
Share on other sites

On 5/12/2019 at 8:11 PM, ivan.popelyshev said:

https://github.com/pixijs/pixi-spine

just take "pixi-spine.js" from "bin" folder, save to your project and put it in your html after "<script src="pixi.js">"

then copy output of spine (json atlas png) somewhere and use the same code as in https://github.com/pixijs/pixi-spine

As for all other features, please look up spine forums and http://esotericsoftware.com/spine-runtime-terminology , all things that are allowed in other spine runtimes (non-pixi) should work here too.

I did try to understand it but I didn't really get it and what I am trying to do is to play different animation on a keyboard button press example

w = walk forward animation , s = walk backward animation, etc..

I can play animation in one direction and this is without the pixi-spine.js 

Link to comment
Share on other sites

There's that thing like "TRACK" . You have to pass track number and decide whether you ADD animation just after current one will end ( no end for looping) or SET it. I advice you to read esotericSoftware forums and look up their examples. Animation is the same here and in other engines that support spine.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...