Parallax scrolling is a technique that many 2D games use to create an illusion of depth and add visual interest to the game’s backgrounds. It achieves the effect by moving different layers of the background at different speeds relative to the camera movement.