The sprites of the of the Amstrad CPC plus is always 16 x 16 pixels of size.
== The data ==
Each sprite has the ability to show 15 distinct colours, the pixel colours are indexed #0 - #F.
Index #0 is always transparency, whereas index #1 - #F is the colour index in the sprite palette.
To define a sprite in the ASIC. 16 x 16 (256) bytes must be transferred to the ASIC.
The format of the data is straight forward. The data is organized in a linear manner. Each sprite pixel uses a single byte, the upper nibble is ignored by the ASIC.
== The colour palette ==
== Example ==
Below is shown an example of how a sprite is organized into raw data.
[[Image:Cpcplussprite.png|400px]]
<geshi lang=Z80>
.pac_sprite
dw #0000 ; Red = #F Green = #F Blue = #F ; The white in the PAC's eyes
</geshi>
== Links ==
[[Category:CPC Plus]]