Channel: javidx9
Category: Science & Technology
Tags: pixelgameenginecollision detectiongame enginec++gamerectanglesplatform gameslearning2d gamesolc::pixelgameengineolcconsolegameengineonelonecodercommand promptbeginneroverlappingtile collisiontutorialone lone coderasciiprogrammingcollision resolution
Description: 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/olcPixelGameEngine/blob/master/Videos/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