8-bits change-color blitter

Started by
1 comment, last by NeonGE 22 years, 3 months ago
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?
--------------------------------------------- If God with me, Who against me?Personal Web Samuel Prince Blog...
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
Yeah, but i have 160 diferent unit types and with +/- 170 animation frames each (too much memory)
--------------------------------------------- If God with me, Who against me?Personal Web Samuel Prince Blog...

This topic is closed to new replies.

Advertisement