$ ./guess_the_languageGame Dev
Game Dev · easy · #226

In a 2D side-scroller, why do far background layers scroll slower?

  1. To save GPU memory on big images
  2. To fake depth through parallax
  3. To keep the HUD from overlapping
  4. 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 ▸