Archived

This topic is now archived and is closed to further replies.

wrfstudios

DelphiX - changing Pallette colors for individual graphics

Recommended Posts

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites