about summary refs log tree commit diff stats
path: root/html/rogue/js/config.js
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2024-12-27 08:12:33 -0500
committerelioat <elioat@tilde.institute>2024-12-27 08:12:33 -0500
commita7fea5f379187ea7e7ff643215b801832459ed67 (patch)
tree1071020c7e67eab53dc1de24592493930c546aca /html/rogue/js/config.js
parentcbec006c83cbd51a8586ec8b4360b3e197e5d634 (diff)
downloadtour-a7fea5f379187ea7e7ff643215b801832459ed67.tar.gz
*
Diffstat (limited to 'html/rogue/js/config.js')
-rw-r--r--html/rogue/js/config.js4
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