Uploaded July 2020 | Updated September 2026, 2 weeks ago
In this video I once and for all solve axis aligned rectangle collision detection, demonstrating algorithms to handle arbitrary size rectangle vs rectangle collisions and collision resolution, applicable to "rectangle soups" or tile map based interactions.
Source: github.com/OneLoneCoder/Javidx9/blob/master/PixelGameEngine/SmallerProjects/OneLoneCoder_PGE_Rectangles.cpp
Patreon: patreon.com/javidx9
YouTube: youtube.com/javidx9
youtube.com/javidx9extra
Discord: discord.gg/WhwHUMV
Twitter: twitter.com/javidx9
Twitch: twitch.tv/javidx9
GitHub: github.com/onelonecoder
Homepage: onelonecoder.com
In this video I once and for all solve axis aligned rectangle collision detection, demonstrating algorithms to handle arbitrary size rectangle vs rectangle collisions and collision resolution, applicable to "rectangle soups" or tile map based interactions.
Source: github.com/OneLoneCoder/Javidx9/blob/master/PixelGameEngine/SmallerProjects/OneLoneCoder_PGE_Rectangles.cpp
Patreon: patreon.com/javidx9
YouTube: youtube.com/javidx9
youtube.com/javidx9extra
Discord: discord.gg/WhwHUMV
Twitter: twitter.com/javidx9
Twitch: twitch.tv/javidx9
GitHub: github.com/onelonecoder
Homepage: onelonecoder.com










