Hello.
If i have a "unit", it can move horizontaly, verticaly and diagonaly.
If it moves only horizontaly its movement speed is 1 pixel, same goes for vertical speed, but what is formula to calculate for diagonal speed?
I made it using "Pythagorean theorem" and i figured out i speed up the "unit" instead of reducing its speed.
I am trying to achieve that if a unit is moving 10sec horizontally then 10 sec vertically to be same position as unit moving 20 sec diagonally.