Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. # Scroll the screen (aka. move the camera) when the character reaches the margins.
  2. var drag_margin_left = 0.3
  3. var drag_margin_right = 0.7
  4.  
  5. # The left/right most edge of the scene. (The camera couldn't move past these limits.)
  6. var right_limit = 1000000
  7. var left_limit = -1000000
  8.  
  9. # The size of the screen
  10. var screen_size
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement