Page 1 of 1

A question on palettes/colour cycling

Posted: Sat Apr 02, 2016 9:09 pm
by POLYGAMe
Hi again!

Say I have an image loaded that only uses 4 colours and I have a palette of 16. Is it possible to cycle through the pallete colours instead of swapping palettes? I think this could be used for some cool effects. If this is possible, how exactly would it be done? I'm thinking it will be a good way to go for alternating lines on a 2.5D road.

Cheers!

Re: A question on palettes/colour cycling

Posted: Sun Apr 03, 2016 4:33 pm
by Stef
Of course it is possible :)

You have the principle of color cycling here :
https://en.wikipedia.org/wiki/Color_cycling

What you can do as well is to actually storing 2x2bpp (4 colors images) or 4x1 bpp (2 colors) images inside a unique 4 bpp (16 colors) image. For that you have to design an image which actually use all 16 colors of the palette and contains internally the different lower colors images.

Re: A question on palettes/colour cycling

Posted: Fri Apr 15, 2016 12:49 pm
by alko

Re: A question on palettes/colour cycling

Posted: Sun Apr 17, 2016 9:20 am
by Manveru
Palette animations can be very cool. You can do things like these: http://www.effectgames.com/demos/canvascycle/