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

[pygame] PixelPerfect



Hi,

I added a small test app for pixel prefect collision detection. It lets you
toggle between pixel perfect and rectangle mode by pressing space. Move the
target sprite by using arrowkeys or drag with mouse.

Hopefully we'll have some pixel prefect algorithms in the next Pygame
release (*blink,blink*) but until then this might help.

Best Regards
/John Eriksson

http://arainyday.se/projects/python/PixelPerfect/
http://www.pygame.org/projects/9/207/?release_id=295