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: / clearcode
(You also get lots of perks)
Social stuff:
Twitter - / clear_coder
Discord - / discord
Related videos:
Introduction to Pygame: • The ultimate introduction to Pygame
Deltatime: • Understanding framerate independence ...
Timestamps:
00:00 - Intro
13:00 - Collision logic
19:32 - Collision implementation
Project file:
https://github.com/clear-code-project...
Pastebin:
https://pastebin.com/sN3vp3t9