PropSprite

Last Modified: 10/16/2021

Sets the MemoryLocation and Palette for Sprite.

Arguments

NameTypeRequiredDescription
Sprite Integer Variable Yes The variable to control your Sprite.
MemoryLocation Integer Yes The location in VRAM where the Sprite tiles reside.
Palette Integer Yes The palette index to assign the Sprite.

Example

Syntax: Propsprite <Sprite>, <MemoryLocation>, <Palette>
    a = AddSprite(1,1)
    PropSprite a,1,0
    MoveSprite a,128,128

Remarks

You can change the priority, horizontal orientation and vertical orientation with the Priority(), hFlipTile(), and vFlipTile() functions.

See Also

MoveSprite, AddSprite(), hFlipTile(), Palette(), Priority(), vFlipTile()