A video about how to do collisions between objects, both static and moving ones. I will use pygame to implement it but the logic should work everywhere .
Related videos: Introduction to Pygame: https://youtu.be/AY9MnQ4x3zk
Deltatime: https://youtu.be/rWtfClpWSb8
Timestamps:
00:00 - Intro
13:00 - Collision logic
19:32 - Collision implementation
Project file:
https://github.com/clear-code-projects/Collisions
Pastebin: