8 Direction movement. or Custom?

0 favourites
  • 6 posts
From the Asset Store
Rotate & Animation for 16 Direction & Mouse Direction
  • Hey i'm going for a Movement style similar to Castle Crashers.

    Problem is, when i am using the 8 Direction Movement it turns my Sprite up and down and weirdness..

    I guess i understand why it does that..

    Should i go for Custom Movement?

    The point is that the character animation only should change when he turns left and right.

    (I wont be using the Mirror Action because the Character is holding different things in both hands.)

    --------------------------------

    Perhaps i can get two questions answered at once!

    Movement animation stops after being played once. Should go on until i release the key or something happens.

  • theres a setting in 8 directions properties called Set Angle. Change it to no and it wont change any directions or animations unless you tell it to

    For the animations theres a loop setting in the same place all the object properties are when you edit them. Click the animation and the options are there

  • Found the Loop Animation and Set Angle !

    Ty :)

    So now i just run a Event that Changes the Animation when A or D is changed?

  • Oops, didn't know it didn't have to set angle. ;)

    Ninja edit.

    You can set direction of the spirte flipped/not flipped by testing if it's moving on a positive or negative x vector.

    <img src="http://www.johnnysix.net/games/pin8.png" border="0" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Cool i try that out :D

  • Oops, didn't know it didn't have to set angle. ;)

    Ninja edit.

    You can set direction of the spirte flipped/not flipped by testing if it's moving on a positive or negative x vector.

    <img src="http://www.johnnysix.net/games/pin8.png" border="0" />

    Was working, but if i am simply moving down it flips the character back, so i think it is best if i change it by KeyPressed :)

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