Changes

Programming:Amstrad CPC plus sprite format

552 bytes added, 21:31, 19 September 2010
moved [[Amstrad CPC plus sprite format]] to [[Programming:Amstrad CPC plus sprite format]]: Update to Programming tag
== The colour palette ==
The ASIC can handle 4096 (16x16x16) colours. Each colour is defined as values of '''red''', '''green ''' and '''blue'''.Each value is handled as 4bit values.  The hardware code send to the ASIC is #0grb. In the below example changing the palette index colour 1 to value #0F00 gives a '''green''' Pac sprite. [[Image:Green pac.png]] changing the palette index colour 1 to value #00F0 gives a '''red''' Pac sprite. [[Image:Red pac.png]] and finally changing the palette index colour 1 to value #000F gives a '''blue''' Pac sprite. [[Image:Blue pac.png]]
== Example ==
</geshi>
== Links See also== *[[Sprites Multiplexing]]*[[Programming:CPC Plus Hardware Sprites]] 
[[Category:CPC Plus]]<math>Insert formula here</math>[[Category: Programming]][[Category:Graphic]]
244
edits