diff options
author | elioat <elioat@tilde.institute> | 2024-12-27 08:12:33 -0500 |
---|---|---|
committer | elioat <elioat@tilde.institute> | 2024-12-27 08:12:33 -0500 |
commit | a7fea5f379187ea7e7ff643215b801832459ed67 (patch) | |
tree | 1071020c7e67eab53dc1de24592493930c546aca /html/rogue/js/config.js | |
parent | cbec006c83cbd51a8586ec8b4360b3e197e5d634 (diff) | |
download | tour-a7fea5f379187ea7e7ff643215b801832459ed67.tar.gz |
*
Diffstat (limited to 'html/rogue/js/config.js')
-rw-r--r-- | html/rogue/js/config.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/html/rogue/js/config.js b/html/rogue/js/config.js index 284ad89..5a729e0 100644 --- a/html/rogue/js/config.js +++ b/html/rogue/js/config.js @@ -30,6 +30,8 @@ const Config = { }, camera: { - FOLLOW_SPEED: 0.1 // Camera smoothing factor + FOLLOW_SPEED: 0.1, // Camera smoothing factor + DEADZONE_X: 200, // Horizontal deadzone in pixels + DEADZONE_Y: 150 // Vertical deadzone in pixels } }; \ No newline at end of file |