In response to Gunbuddy13
Luckily, someone in the past has already made an algorithm for getting a more useful direction:
http://www.byond.com/forum/?post=195151

And here's an explanation for what it does:
http://www.byond.com/forum/?post=195152

Basically, you can use this instead of get_dir() to get a direction that's closer to the mouse.

If you want precise, straight lines toward the mouse, then you should just use pixel movement.
Okay is pixel movement a very better slution for my need? Because if it is I couldtry to change to it but i've never done it before
Page: 1 2