Difference between revisions of "AMOSi:Get Sprite Palette"

From Amiga Coding
Jump to: navigation, search
(Extracted from the AMOSPro V2.00 helpfile)
m (1 revision(s))
 
(No difference)

Latest revision as of 01:51, 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.