MACRO SPRITE2 pixel_row SPRITE2_BYTE MID$(pixel_row, 1, 8) SPRITE2_BYTE MID$(pixel_row, 9, 8) SPRITE2_BYTE MID$(pixel_row, 17, 8) ENDMACROName: SPRITE2 [Show more] Type: Macro Category: Sprites Summary: Macro definition for a two-colour sprite pixel rowContext: See this macro in context in the source code References: This macro is used as follows: * spritp uses SPRITE2
This macro inserts three bytes of a two-colour sprite pixel row, with eight pixels per byte (i.e. eight pixels per character block).
Arguments: pixel_row A string containing a row of 24 pixels, where each pixel is defined as follows: * X denotes colour 1 * Anything else denotes colour 0
[X]
Macro SPRITE2_BYTE (category: Sprites)
Macro definition for a two-colour sprite pixel byte