Collisions in pygame

In this video the author goes deep into collisions among sprites in pygame.

The best way to detect collisions is to:

  • Check collision with colliderect
  • check position of collision for each size

 


Published by pythonprogramming

Started with basic on the spectrum, loved javascript in the 90ies and python in the 2000, now I am back with python, still making some javascript stuff when needed.