Log In  

Hello!

I am developing a small hockey type game where the player character can move in all directions. It works fine enough but because of the D-pad movement, if the player tries to go in a circle, its very much a diamond shaped movement instead.

I am not sure if there is any way to make this movement smoother, so its circular if you hit the buttons in quick succession like the below gif image?

Any suggestions or feedback are most welcome! :) Thanks!

Cart #testinghockey-0 | 2021-07-21 | Code ▽ | Embed ▽ | No License

P#95130 2021-07-21 15:44 ( Edited 2021-07-21 15:46)

1

I believe you need acceleration to emulate analog controls. Here's a quick modification that I did to your demo:

Cart #muzidodubi-0 | 2021-07-21 | Code ▽ | Embed ▽ | No License
1

P#95140 2021-07-21 16:39

Amazing to get a reply so quickly and its exactly what I needed!

Galenfen - thank you very much for your help!

P#95141 2021-07-21 16:44

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2021-07-25 13:21:31 | 0.016s | Q:21