Archived

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

DelphiX - changing Pallette colors for individual graphics

This topic is 5340 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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