Sign in to follow this  
Flake

Converting Spine files to '.anim' format

Recommended Posts

Hi,

 

I'm attempting to get a spine animation running in Pixi:

In the examples (http://www.goodboydigital.com/pixijs/examples/12-2/) a '.anim' file is loaded (along with a json).

 



var assetsToLoader = ["data/dragonBones.json", "data/dragonBones.anim"];


However I cant figure out how to export or convert my spine files into this format. (Currently I'm exporting a ".atlas", a ".json" and a ".png")

Thanks.

Share this post


Link to post
Share on other sites

Whoops.. Thanks, for the heads up!

 

Edit: :/ sry to keep this thread open. The example is spread out over too many source files and languages for me to follow..

 

I just want to get the animation playing in a simple page. I've added pixi and pixi-spine in the header, but as soon as I add the later, I get the following error in line one of pixi-spine:

Error: Cannot find module 'pixi.js'

I'm new to JS, and not using any build tools.. Are there other libs that I have to add, or am I failing elsewhere. *All files and assets are in the same folder, btw.

 

 

Edit, Edit: I downloaded the examples project, and get the same error when I run the Spine examples. (the others work fine)

Share this post


Link to post
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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.