Collisions in Pygame - Beginner Tutorial

Published: 05 March 2023
on channel: Coding With Russ
48,484
1.1k

In this video I will explain how to check for collisions in Pygame.

I'll go over three different collision types which are rectangle collisions using colliderect(), point collisions using collidepoint() and line intersection collisions using clipline()

I'll also explain how I use these collisions in my projects for player collision, button clicking and even AI.

Take a look at the tutorial on my website for a reference on collisions here: http://www.codingwithruss.com/pygame/...