iterami
/
Docs.htm
/
common HTM Projects
/
math.js
/math_move_2d_diagonal(args)
Handles reduction of movement speed when moving diagonally amd returns an object containing "x" and "y".
Arg
Default
Type
dx
number
dy
number
speed
number