Difference between revisions of "AMOSi:Get Sprite Palette"
Spellcoder (talk | contribs) m (1 revision(s)) |
Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile) |
(No difference)
|
Revision as of 02:45, 17 November 2007
an example can be found on AMOSPro_Tutorial:Tutorials/Hardware_Sprites.AMOS
Copies the colour values used by your sprite images straight into the current screen.
Get Sprite Palette
The optional mask allows you to limit yourself to just a selection of colours.
Get sprite Palette bitmask
Each colour is represented by a single digit in a 32 digit "bit mask". If the digit's set to 1, then the appropriate colour value will be copied over from the sprite bank.