[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Sprites



Numeric or numpy is definitely the way to go for procedural sprites or sprite effects.

On 8/4/06, Greg Ewing < greg.ewing@xxxxxxxxxxxxxxxx> wrote:
Brain Murphy wrote:
> Is it possible to change the colour of a sprite starting at one end and
> finishing at the other?

You could do that sort of thing fairly easily using OpenGL,
but not with PyGame's builtin 2D drawing facilities, as far
as I know, except by using a series of images with different
gradients painted on them.

--
Greg



--
Andrew Ulysses Baker
"failrate"