Last Modified: 1/2/2021

Draws a tile to the active plane.


VRAMAddress Integer Yes The tile in VRAM you want to draw.
X-Coordinate Integer Yes The X-Coordinate to draw the tile.
Y-Coordinate Integer Yes The Y-Coordinate to draw the tile.


Syntax: DrawTile <VRAMAddress>,<X-Coordinate>,<Y-Coordinate>
    DrawTile 1,0,0


When drawing tiles, you can change the horizontal and vertical orientation of tiles by using the hFlipTile() and vFlipTile() functions. You can also change tile priority and palette by using the Priority() and Palette() functions.

To change the active plane, use the SetGfxPlane command.

See Also

DrawTiles, DrawTilesInc, DrawTilesInc2, DrawTilesOvr, LoadTiles, SetGfxPlane, hFlipTile(), Palette(), Priority(), vFlipTile()