AddSprite()
Previous  Next

Description: Sets an integer variable as a sprite handle.

     Syntax:
     
AddSprite(<Height>, <Width>)

Part
Description
<Height>
Required. This is the sprite's height in tiles.
<Width>
Required. This is the sprite's width in tiles.

Notes: The maximum height and width of a single sprite is 4 tiles in height and 4 tiles in width. Exceeding these values may cause undesirable effects.

Example:

        a = AddSprite(1,1)