Demo-Man   (interactive gamedev tutorials) Login Sign Up
Donations & Bribes
Website by 2DArray (who makes games with a friend)

Properly Handling Diagonal Movement Speed

Many types of games involve player-inputs which might point in a diagonal direction.

x += GetHorizontalInputAxis() y += GetVerticalInputAxis()

This can cause a subtle problem...

(Once you start the slideshow, its captions will go here)








Click to start slideshow
 

Back to index


Help