gamedev.net
8 Way Movement Via Mouse Control (2D Game) - Math and Physics - GameDev.net
Hi, Pardon me if this is a ridiculously stupid question, but here goes. My character is controlled via the mouse. When you click with the left button, he follows it. What I need is a relatively simple way to detect the angle of movement. Say, the character is at 32, 32 and the mouse is at 48, 50
Похожие материалы на gamedev.net