In a 2D side-scroller, why do far background layers scroll slower?
- To save GPU memory on big images
- To fake depth through parallax
- To keep the HUD from overlapping
- To stop the camera from jittering
Distant layers moving less than near ones mimics how far objects shift less as you move, giving a flat scene a sense of depth.
Play Game Dev ▸