Jump to content

Bone import to Unity


Recommended Posts

Hello,

 

I just bought Spriter over the weekend after watching several of the tutorial videos and I love it.  It's so simple but powerful and art replacement will save me several months of work because my game has several playable characters and I can now simply replace art in pre-made animation cycles to instantly animate new characters as they are created.  Freaking genius.  In my game however, the player will also be able to pick up and swap out their weapons and I wondered if I could export the actual bones used in the animation in Spriter to Unity so that I can use it as an anchor point for the weapon swapping.  The only way I've come up with so far if this method isn't possible is to create a blank game object as a child of the sprite and then I'd have to animate it and code it to switch animations to match the sprite animation.  This obviously isn't ideal and prone to issues should the animation of the sprite and the animation of the empty game object get out of sync.  So, I'm really hoping I can just export the bone data from Spriter and use it in Unity.

Link to post
Share on other sites

Hi South,

 

Its definitely possible to swap out textures for other texture...an effect identical Spriter's character maps, but It takes a few lines of code in your Unity project.

 

I suggest you contact the creator of Spriter2Unity directly to ask how its done. Maybe there's a tutorial floating around.

 

https://github.com/bonus2113/Spriter2Unity

 

Cheers,
Mike at BrashMonkey

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.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...