One image many colours (DDraw 7 & vb6)
Hello,
I have been practising my direct draw 7 in VB6, I have created a game that will use the same bitmaps for up to 8 players of different colours. Other than creating bitmaps for each stick man colour is there a way of using the one bitmap but convert its colour based on which player I am blt'ing?
I have tried Palettes but they run too slow, I might have to write a function that creates the images in memory on the fly :)
Re: One image many colours (DDraw 7 & vb6)
Are you limited to DirectDraw or DirectX7 ?
You could make the vertices (that you are going to cover with the texture) the color you wish in Direct3D7
If you are doing this as a hobby, I recommend switching to DirectX8 ( :eek: I am starting to sound like Jacob Roman!)
Re: One image many colours (DDraw 7 & vb6)
managed to do it by locking the surface and setting the pixels
Thanks though :)