Archived

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

NeonGE

8-bits change-color blitter

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
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