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 .
If you want to support me: https://www.patreon.com/clearcode
(You also get lots of perks)
Social stuff:
Twitter - https://twitter.com/clear_coder
Discord - https://discord.com/invite/a5C6pYw2w5
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:
https://pastebin.com/sN3vp3t9