AMOSi:Get Sprite Palette

From Amiga Coding
Revision as of 01:51, 17 November 2007 by Spellcoder (talk | contribs) (1 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.