BASIC SET TILE Statement - fvdhoef/aquarius-plus GitHub Wiki

SET TILE

TYPE: plusBASIC graphics statement

FORMAT: SET TILE tile TO tiledata

Action: Populates the pixels in a tile.

  • tile is the tile number in the range 0 through 511.
  • tiledata is string containing the binary pixel color indexes
Example

SET TILE 7 TO $"FFFFFFFFF0000000FF0000000FF0000000FF0000000FF0000000FF0000000FFFFFFFFF"

Sets tile 7 to an unfilled square with color index 15.


FORMAT: SET TILE * strarray

Action: Populates the pixels in multiple iiles.

  • strarray is a string array containing tile indexes and tile data.
    • Each element of the array is a binary string containing a 2 byte tile index followed by 32 bytes of pixel data.
⚠️ **GitHub.com Fallback** ⚠️