does anybody know how to set the frame number to the angle of the mouse coordinates from a sprite object... sorry if im not making any sense, i've been up all night and now its over 12pm.
What i want to do, is have my player character point his gun towards the mouse regardless of what direction he is moving.
some unfinished sprites
<img src="http://img.photobucket.com/albums/v403/puppeli/Player_1b.png">
its easy to do in game maker "point_direction(x,y,mouse_x,mouse_y) /45", but i've run into some different problems there that would be so easy to do in Construct