#55876 - chrissieboy - Mon Oct 03, 2005 5:53 pm
i got a problem, when i load 3 sprites and 3 palettes they all use the last loaded palette?
with the palette function i even can't assign a number or something to. It only has 2 variables.
and in the sprite function i can give the palette number but it doesn't matters, does anyone know a solution?
greets!
Code: |
PA_LoadPal(PAL_SPRITE0, master_Palette); PA_CreateSprite(0, 0,(void*)spr_Bitmap, OBJ_SIZE_32X32,1, 0, 50, 50); PA_LoadPal(PAL_SPRITE0, master2_Palette); PA_CreateSprite(0, 1,(void*)spri_Bitmap, OBJ_SIZE_32X32,1, 1, 100, 50); PA_LoadPal(PAL_SPRITE0, master3_Palette); PA_CreateSprite(0, 2,(void*)sprit_Bitmap, OBJ_SIZE_32X32,1, 2, 100, 100); |
with the palette function i even can't assign a number or something to. It only has 2 variables.
Code: |
PA_LoadPal(PAL_SPRITE0, master_Palette); |
and in the sprite function i can give the palette number but it doesn't matters, does anyone know a solution?
greets!