if you end up using pyOpenGL for hardware blits, openGL can do that
type of coloring dynamically fairly easily.

SDL on the other hand (what pygame wraps) has no feature that can do
that. If you wanted to do that using pygame only, you'd have to either
use numarray or get the image as a string and modify it's colors
directly...

On 8/4/06, Brain Murphy <[EMAIL PROTECTED]> wrote:

Is it possible to change the colour of a sprite starting at one end and
finishing at the other? so if I have a pipe, and want the pipe to change to
green or red or whatever, could I have it start the change at one end and
finish at another?
Is there a tutorial were this type of thing is posted?
I am really interested in this but am stuck at no were.
Brian



 ________________________________
 All new Yahoo! Mail "The new Interface is stunning in its simplicity and
ease of use." - PC Magazine


Reply via email to