SHARE
TWEET

Untitled

a guest Jun 19th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top