Guest User

Untitled

a guest
Apr 14th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (player.x > (camera.x + 490))
  2.             {
  3.                 camera.x = camera.x + 3;
  4.             }
  5.             else if (player.x < (camera.x + 82))
  6.             {
  7.                 camera.x = camera.x - 3;
  8.             }
Add Comment
Please, Sign In to add comment