title: Calculating parallax layer world coordinates?
body: <p>I'm trying to position a sprite in a 2d game at a certain world position on a parallax layer.</p>
  
  <p>So if my parallax layer has a scroll factor of 0.5, when the camera moves 2 pixels, that layer moves 1 pixel.  I'm trying to align trees along the bottom of the maximum extents of the world.</p>
  
  <p>So how do I calculate the position of the sprite I want to place on the parallax layer so that it shows up where I want in the world?  My camera's origin is in the top left if that makes a difference.</p>
  
  <p>I've tried a lot of formulas but no luck and Google isn't being helpful.</p>
  
  <p>Any help please?</p>
  
  <p>Thanks!</p>