Barcelona Code School @barcelonacodeschool.com · 30/08/2026Two rectangles overlap only if they overlap on the x axis AND the y axis. Miss on either and there's no collision. It's fast, cheap, and good enough for most 2D games: platformers, shooters, top-down adventures. 100
Barcelona Code School @barcelonacodeschool.com · 30/08/2026Need more precision? Move to circles, then pixel-perfect or polygon checks. But you start with boxes, kept as a fast first pass before the expensive tests. #gamedev #gamedevelopment #indiedev #unity #gameprogramming #collisiondetection #barcelonacodeschool #codingbootcamp1:43 PM · Aug 30, 2026 081