GameMaker Touhou Engine   Home   Downloads   Documentation


A primitive script that moves an object to the edge of a circle with the given radius, in a specified direction.

Returns: Void


_MOVE_OBJECT(ob, am, dir)


Name Value Significance
ob <object> The object to move.
am <real> The radius of the circle mentioned above.
dir* <integer(0-7)> The direction to move in.

*Works like a clock where 0 is 12 o' clock and every subsequent number is 1.5 hours apart.


Increase or decreases ob's X and Y coordinates according to am depending on the given direction.