How do I Move diagonally w/ Gamepad

0 favourites
  • 5 posts
From the Asset Store
Create your own wss server and ws server with ssl and without ssl.
  • i get the feeling no one actually use gamepad functions...

    Referring to the construct manual i can have my player move up down left and right with the analog stick, but i cannot figure out how to get the character to move diagonally with turning the stick in between angles.

    Any idea?

  • If you use 8Direction, you don't have to do something special for diagonal movement.

    This works for me:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is perfect thanks, i dont know why it was giving me problems!

    however I came across another problem though i added animations for each action and they seem to argue with each other if i dont press into a specific direction. up,down,left,right, Exact.

    The code basically looks like this.

    Left analog - press left, play animation "run left"

    Left analog - press right, play animation "run right"

    etc etc, any idea what i can do about that?

  • [quote:3jkcwwpv] I came across another problem though i added animations for each action and they seem to argue with each other if i dont press into a specific direction. up,down,left,right, Exact.

    That problem is not so trivial, at least for me.

    I made a litte example:

    https://drive.google.com/file/d/0B5FlDY ... sp=sharing

    Hope that will help.

    Please feel free to ask if there are something you don't understand.

  • Wow this is great! I cannot thank you enough for your help, somewhere on my end i have a few issues to sort out, but at least i have the knowledge on how to get it to work correctly.

    Again thank you for taking the time helping me figure this out.

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