DrawTilesInc
Previous  Next

Description: Draws one or more tiles on the screen at location <x>, <y> that is <width>, <height> in size. One unit of <x>, <y> and <width>, <height> is equal to one 8x8 tile. Tiles are drawn in order starting at the <Address> defined and incrementing by 1 for each tile to be drawn. Tiles are drawn horizontally first, then vertically.

     Syntax:

DrawTilesInc <Address>, <X>, <Y>, <Width>, <Height>

Part
Description
<Address>
Required. This is the location in VRAM where the tile resides.
<X>
Required. The x-coordinate to draw the tile.
<Y>
Required. The y-coordinate to draw the tile.
<Width>
Required. The width of the pattern to be drawn.
<Height>
Required. The height of the pattern to be drawn.

Example:

        DrawTilesInc 65, 0, 0, 1, 26