title: How can I make an infinite side scrolling background in Phaserjs?
body: <p>I'm using phaser.js to make a game and I cannot find any tutorials on how to make the background scroll infinitely. I'd like the background to tile/repeat sideways, and infinitely as the character moves right. </p>
  
  <p>I am currently using a camera and having the camera follow the character. </p>
  
  <p>Here's my idea about how to do this: Check the position of the camera constantly in <code>update()</code>, and then move it to the beginning of gameplay (the very left) along with the character at that time. I think that this would probably not be a smooth transition though, so I'm wondering if there is a better way to do it. </p>