GameMaker Touhou Engine   Home   Downloads   Documentation

_MOVE_OBJECT()


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


Returns: Void


Syntax:


_MOVE_OBJECT(ob, am, dir)

Arguments:


Name Type Significance
ob Reference to Object The object to move.
am Float The radius of the circle mentioned above.
dir* Integer The direction to move in.

*Works like a clock where 0 is 12 o' clock and every subsequent number is 1.5 hours apart, ranging from 0 to 7.