Jump to content
  • Advertisement

Archived

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

NeonGE

8-bits change-color blitter

This topic is 5972 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

Hey! i need help with an old trick, i´am working on a RTS game like Age of Empires but i need help to perform the change of color of the units to the player common color (blue, red, etc) in a razonable process time (when i print 30 units my machine DIE). I´am working with 8-bits and a simple palette with DirectDraw HELP, WHAT CAN I DO?

Share this post


Link to post
Share on other sites
Advertisement
Change the color once in a copy of the unit's frame and save it for later use. Sounds like you are looping through the pixels of each unit animation each frame, changing the colors.

Edited by - strtok on January 10, 2002 9:38:00 PM

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!