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

Re: [pygame] Pixel perfect collision detection sugestion



Yah!

we were just talking the other day in #pygame about per pixel
collision detection in pygame.

This is definitely something that is needed.

Cheers,



On 9/8/05, John Eriksson <john@xxxxxxxxxxxx> wrote:
> Hi,
> 
> I've written a small and fast pixel perfect collision detection algorithm
> that I thought I might share with everyone.
> 
> I've been using this algorithm in several other languages (C#, Java, Flash)
> with excelent performance.
> 
> The example code is actually a suggestion to be added in the Sprite module,
> but if the PyGame developers doesn't like it it's very easy to just add to
> your code.
> 
> Please have a look and tell me what you think!
> 
> Best Regards
> /John Eriksson
> 
> 
>