Simple example showing the use of Separating Axis Theorem (SAT) to detect overlap and separate sprites using SFML. Demo: