Palette Swapping

BlitzMax Forums/BlitzMax Beginners Area/Palette Swapping

Hello,

Could someone point me in the right direction with changing the palette of one of my images? I want to swap each individual color in the image with a different one.

Thanks.

You loop throug each pixel, if its the colour you want to change, you change it.

Unfortunately you cannot do an old skool palette swap because BMAx doesn't support 8 bit colour modes. You have to individually change each pixel like H&K says.