AMOSi:Get Sprite Palette

From Amiga Coding
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.