Posts Tagged With 'pygame'

Pygame Abstraction

This is a simple script that I use for all my pygame programs, just because it makes the whole business of creating a window and receiving events a little bit easier . ...

posted June 21, 2010. It has 120 comment(s).

tagged with: pygame snippet

Pygame Greyscale

For varies reasons I wanted to convert a pygame surface to greyscale this morning, but I couldn't find a decent solution on the internet. Converting to an 8bit surface then changing to a greyscale palette doesn't work as you may hope. The solution I eventually came up with is : ...

posted April 3, 2010. It has 342 comment(s).

tagged with: convert format grayscale greyscale pygame python snippet surface