256 Colour Tutorial Part 2(V2.62): Difference between revisions

m
Line 75: Line 75:
</blockquote>
</blockquote>
Well, I won't bother explaining the above word by word, basically what this function does, is to change the colour of a slot directly, ''all'' pixels on screen which use this slot will be changed to the new colour immediately.
Well, I won't bother explaining the above word by word, basically what this function does, is to change the colour of a slot directly, ''all'' pixels on screen which use this slot will be changed to the new colour immediately.
Let's illustrate this with an example, remember the [[media:8bittut_ss1.pcx|sprites]] we used in the part 1? Conside the girl sprite:
Let's illustrate this with an example, remember the [[media:8bittut_ss1.pcx|sprites]] we used in part 1? Conside the girl sprite:


[[Image:8bittut_sprite0.png|center|68px|Girl sprite]]
[[Image:8bittut_sprite0.png|center|68px|Girl sprite]]