Diagonal Movement 8 Way Direction Animation

0 favourites
  • 5 posts
From the Asset Store
Hand-animated Sprite Base for isometric game/animation development
  • *Wow, I could've sworn I had clicked on the How Do I section - if a mod could please move, first post and it was a blunder*

    Hey everyone,

    Did a few searches and didn't quite find what I'm aiming for.

    My 2d sprite has animation for all 8 directions (cardinal 4 and diagonals), and all have been set up properly in its animations. However, the problem I'm having is that the diagonal movement animation doesn't play through. It is set to loop.

    The event handling I figured would work is the following -

    <img src="http://i.imgur.com/2fs4Xc1.png" border="0" />

    I'm thinking the issue is with the bottom event setup. Perhaps I'm interrupting the animation using both left and up? I'm kind of lost.

    Thoughts?

    Many thanks,

    Basch

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I found this piece of info here -

    scirra.com/forum/sprite-movement-8-dir-troubles_topic47201.html

    Anyone know how I would add controller support?

  • Can you post an example file. I think I know what you want.

    Also, just a quick critique. Make a dead zone for the joystick, otherwise you will get "drifting" if the stick is not perfectly calibrated.

    make the low range -10, and the high range +10. can be lower or higher, just depends on the player's preferences.

  • So I've made some progress but I can only get half the range working using these events. The top directions work, but any time I try to add Down-Left or Down-Right, something breaks. Any thoughts?

    <img src="http://i.imgur.com/JYUwEbT.png" border="0" />

  • Messing with the sensitivity on each axis got it to work for me

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