GameMakerHelpBlog

Saturday, November 25, 2006

Mouse Movement 1

Hi

This is a simple Mouse Movement Script for you for topdown games. It is better than having to make 36 sub images :)

How to do it:

[Code]
direction=point_direction(x,y,mouse_x,mouse_y)
image_angle=direction
[/code]

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home