PropSprite
Previous  Next

Description: Sets the tile(s) and palette for a sprite.

     Syntax:
     
PropSprite <SpriteVariable>, <VramLocation>, <Palette>

Part
Description
<SpriteVariable>
Required. This is the sprite variable that received a handler from the AddSprite() function.
<VramLocation>
Required. The location in VRAM that the sprite tiles are loaded.
<Palette>
Required. The palette number for the sprite. Valid palette numbers are 0 to 3.

Example:

        a = AddSprite(1, 1)
        PropSprite a, 1, 0
        MoveSprite a, 128, 128