hughfdjackson/treeroots — Issue #2: diagonal movement is too fast
Author: tsatse
Created: 2011-11-24 08:55:40+00:00
State: open

When walking in diagonal, the character appears to accelerate.
If the horizontal/vertical step is n, then when moving in diagonal, the increment in each direction should be :
(1 / sqrt(2)) * n
which is roughly equivalent to :
0.7 * n
didn't check your code, he just seems to accelerate