DelphiX - changing Pallette colors for individual graphics
Im making a isometric game simliar to rollercoaster tycoon.
Im not sure how they change the colors on each of the rides -
But since you can make the rides ANY color - im sure they didnt create each piece of the ride in every color imaginable.
I think they change the pallette for each image to allow the user to select whatever color they want for each piece of the ride.
Has anyone ever done this in delphix? If so... how is it done?
Thanks
Bill
Hi, its probably just changing the rgb of a sprite that is drawn, that would be my guess.
Bobby
Bobby
Yeah- thats kinda what I figured too - but I can''t seem to find the command to do that exactly.
Does anyone know the exact syntax to change the pallette of an image?
to display im using...
Imagelist.Items[3].Draw(DXDraw.Surface, X,Y, 0);
How would I go about changing the pallette for that particular image (imagelist.items[3])
Thanks
Does anyone know the exact syntax to change the pallette of an image?
to display im using...
Imagelist.Items[3].Draw(DXDraw.Surface, X,Y, 0);
How would I go about changing the pallette for that particular image (imagelist.items[3])
Thanks
Hi, I havent used DelphiX for a long time, but isnt there a special draw command? Like DrawEX() or somehting like that that gives you more options?
Bobby
Bobby
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement