[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Pixel perfect collision detection sugestion
BTW...even if you do have large images with large areas of intersection you
probably still would find a hit within the first row wouldn't you? Then the
nested loop wouldn't cost that much after all.
Best Regards
/John
>
> hmm, time flies... but seriously, you're already using Numeric anyway,
> and if you replaced just the part with the nested Python loops with a
> Numeric function, it would probably be much faster, especially if you
> ever have large images with large areas of intersection.
>