Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Scroll the screen (aka. move the camera) when the character reaches the margins.
- var drag_margin_left = 0.3
- var drag_margin_right = 0.7
- # The left/right most edge of the scene. (The camera couldn't move past these limits.)
- var right_limit = 1000000
- var left_limit = -1000000
- # The size of the screen
- var screen_size
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement