GameMaker Touhou Engine   Home   Downloads   Documentation


A script that creates an item object.

Returns: id of the created item. (Reference to Object)


_ITEM_CREATE(ob, _x, _y, spd, dir)


Name Type Significance
ob Reference to Object The item to create. (Must inherit from _ITEM_PARENT)
_x Integer The X-coordinate to create the item at.
_y Integer The Y-coordinate to create the item at.
spd Integer The initial movement speed of the item.
dir Integer The direction the item moves in when created.