Changing colour of sprite "in game"

Blitz3D Forums/Blitz3D Beginners Area/Changing colour of sprite "in game"

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Another thing worth noting - if you use 256 colour bitmaps, you can apply different palletes to it to get different colours at loadtime (this is much faster). "But blitz doesn't support paletted images!" I hear you cry. True, but it loads them in well enough. Every paletted bmp has the pallet info at the start of the file. If you overwrite these values with a new palette before loading the image, hey presto! I had some code that did this knocking about on the forum somewhere, but gawd onlyknows where it is...