Jump to content
  • Advertisement

Archived

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

wrfstudios

DelphiX - changing Pallette colors for individual graphics

This topic is 5558 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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!