title: background with several layers (like parallax)
body: <p>I am trying to create a background for my game that gives the impression that some things are further than the others.
  so lets say i have a sky, a sun, some clouds and the ground. the sky and the sun are the furthest, the clouds in the middle and the ground is in the front.
  now if the player zooms or pans the camera i want the further layers to move less than the closer layers to give the impression that they are really further (the ground moves the most and the clouds move less and the sun almost doesn't move)
  just like the way auto parallax behave except that it is a static background so normally nothing moves unless the players zooms in or out.</p>
  
  <p>this concept is implemented in angry birds with the game play objects (the birds, pigs, blocks...)and the ground are in the front, a mountain layer in the middle and the sky and clouds are the furthest.</p>
  
  <p>now if you understood what i am trying to accomplish please give me an idea how to go about doing that because it drove me crazy the past few days and i just couldn't even put the concept to implement it yet.
  any code would also be great.</p>