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

Re: [pygame] Strategies for pixel-based collision



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 4 Oct 2004 08:09 am, andrew baker wrote:
> If you're going to have loads of on-screen objects, it becomes less
> significant what kind of collision-detection you're using and more
> significant what collisions are going to be tested.  If two cars are
> on opposite sides of the screen, they should never even be tested
> against each other, saving you the overhead.

Absolutely :)


    Richard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBYHqJrGisBEHG6TARAu+jAJ46QCMe8uyFk5M3GMMwtEmNRV/nWACdG0VM
bpa2V5epEc0Ps4s54WLYadU=
=koH1
-----END PGP SIGNATURE-----