Jump to content

switching animation (spriter, libgdx and ashley)


Recommended Posts

Hi,

I'm using the Trixt0r implementation of Spriter for my libgdx game and I have ashley as entity system. The combination is a really good one, for my purpose.

My first try was to let the gray guy walk around and it worked very well - see it on YouTube

. Now I want to let the guy jump at a key press. This is much more complicated, because the animation is splitted into 3 parts.

How would you do this?

Link to comment
Share on other sites

  • 3 weeks later...

Hi mars3142,

Nice job so far... I've never used the authoring systems you're using, so I cant provide any especially useful info for you, but the jump is split into separate animations in order to work properly with varied jump heights, inertia etc... meaning there is a jumping upwards loop, a falling downwards look and a transition animation to go from one to the other.

Make sense?

cheers,

Mike at BrashMonkey

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.

  • Recently Browsing   0 members

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