Animation Breaking

0 favourites
  • 4 posts
From the Asset Store
Ninja char for your game! Make your own Shinobi game with this art.
  • Im new at Construct. I've been working about a stick figure game since this morning. I've used the example files that come with the free edition of Construct 2.

    I wanted the moving to be with A and D so i made my player platform and at the event's i used keyboard to add A and D with moving and animation change. You can look into it at the link below.

    In the animation editor when i look at each frame they are completely normal and the animation has loop because its running. When it completes the number of frames it goes back to the first frame but shows it a little above and a little to the right which looks very very awfull. When i preview it the same thing happens. When i preview other animations it doesn't happen but when the other animations are in game, the same thing happens. I dont know what caused this, maybe its because of the computer cause its quite old and can't render it correctly or something like that.

    The Game File

    ALSO: When i turn the character from looking right the looking left the characters main point is his sword instead of himself, i tried placing the origin point at the chars hip in every animation but nothing happen. Any idea how to fix it?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • The jump is because you moved the origin to the hip. You only changed the origin of the first frame of the animation, so the first frame will jump to where the origin is.

    Make sure the origin is at the middle of your character on every frame of every animation. Some people (including myself) like to keep it at the bottom middle of the character.

    Edit: See page 3 and 4 of this tutorial if you're unsure what I mean.

  • Thanks for your help, i tought that it applies to every frame automaticly.

    Edit: I set the origin to the hip at every frame using shift and it also fixed the problem with turning directions. Thanks for the help again!

  • Yeap, it's a very important part to get right. <img src="smileys/smiley2.gif" border="0" align="middle" />

    Always happy to help, welcome to the community by the way.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)