AABB, circle, and tilemap collision detection utilities
The Collision Detection system provides fast and accurate collision checking for boxes (AABB), circles, and tile-based maps.
Checks if two axis-aligned boxes overlap.
if (checkAABB(player, enemy)) { /* collision! */ }
Checks if two circles overlap.
if (checkCircle(ball, hole)) { /* scored! */ }