GameMaker Touhou Engine   Home   Downloads   Documentation

_UPDATE_IMAGE_ANGLE()


A script that rotates an object's sprite based on it's direction of movement. Typically used with bullets.


Returns: Void


Syntax:


_UPDATE_IMAGE_ANGLE(ob)

Arguments:


Name Value Significance
ob <object> The target object.

Actions: Set ob's image angle to it's movement direction, plus 90.