-
-
Save identity2/dd4b08ed65eda1538af6c28fbdca5038 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment