Quote:
Originally Posted by Havie
Can someone help me with palettes please!
I am using the new Display library commands and Use Palette doesn't work - I keep getting an error that there is no object. So - I have realised that I can't use old commands with the new display list but I have no idea how to get a palette from a shape. I have tried loading with shape with the optional palette command at the end but whatever I do I can't seem to change to this palette. Help!!!
|
Hmm, I haven't used BB2 very much but what has been working for me is to load the palette from the image (containing shapes) with
Code:
LoadPalette 0,"image.iff"
and then after creating the copperlist use DisplayPalette instead of Use Palette
Code:
; DisplayPalette #coplist, #palette
DisplayPalette 0,0