Animation Problem

0 favourites
  • 8 posts
From the Asset Store
3 pixel charaters with over 8 animations each + animations with a gun
  • Hi! When Walk/Run animation stops my character just like jumps. Also i noticed that in platform Walk/Run animation faling so only half of charcter is on platform.

    And 1 more problem - i did all like in platform tutorial, but sometimes Walk/Run animation dont stops.

  • Make sure the collision polygons (and origin points) are consistent for each of the frames of animation. Otherwise when the collision box changes the animation will appear to pop up and/or down and either float above or cut through the platform.

    Or as many of the tutorials suggest, use a single invisible box for collision and movement, and pin it to the player animation sprite. This eliminates most of these kinds of issues.

  • oh actually i skipped invisible object thing, now i understands why i need thins.

  • It's fixed animation switch jump, but still dropping half body under platfrom while moving animation.

  • <img src="http://puu.sh/30lBa.png" border="0" /> when walks

    <img src="http://puu.sh/30lDy.png" border="0" /> when stands

    collisions on animation seems to be ok

  • Check origin point on the two animations/frames. If they're not the same (usually anchored on the feet) you'll get that. If it's an origin problem, the walk animation probably has the origin point at its knees instead of its feet.

    To avoid this I usually set up all the animations, and then go to the first frame of each one, set origin and right click and use the "apply to all frames in animation". This kind of stuff is really annoying at first, but once you get the hang of it it's easy.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you! Now it works.

  • No problem.   <img src="smileys/smiley20.gif" border="0" align="middle" />

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