[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Weird lag
Peter Gebauer wrote:
> How is collision testing done? 200 sprites tested against 200 sprites
> is a big difference from just testing 2-3 sprites against 200, in particular
> if you do the iteration in Python.
At the moment only the player char is checked for collisions so its 1:200.
http://github.com/dmateos/paperworld/tree/master is the source if anyone
cares enough to take a look.