aboutsummaryrefslogtreecommitdiff
path: root/src/constants.odin
diff options
context:
space:
mode:
authoriamcheeseman <[hidden email]>2026-02-15 13:17:36 -0500
committeriamcheeseman <[hidden email]>2026-02-15 13:17:36 -0500
commitcab0d6e99d96f621e6efcf1ed6b5537cf122ad96 (patch)
treec2ec966dbced8eff07ac89fe3cdde29dafe604e7 /src/constants.odin
parent93c27830060788dea1c364465d29e44d05a3064e (diff)
Wall sliding/jumping
Diffstat (limited to 'src/constants.odin')
-rw-r--r--src/constants.odin7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/constants.odin b/src/constants.odin
index 2875f4c..a25f1f9 100644
--- a/src/constants.odin
+++ b/src/constants.odin
@@ -18,6 +18,13 @@ PLAYER_DASH_SPEED :: 500
PLAYER_DASH_TIME :: 0.15
PLAYER_DASH_COOLDOWN :: 0.3
+PLAYER_WALL_SLIDE_SPEED :: 100
+
+PLAYER_WALL_JUMP_BUFFER :: 0.05
+PLAYER_WALL_JUMP_TIME :: 0.1 // How long the player moves away from the wall
+ // before control is given back
+PLAYER_WALL_JUMP_FORCE :: 150 // How fast the player jumps away from the wall
+
PLAYER_GUN_HEIGHT :: 0
PLAYER_GUN_DIST :: 7 // how far out to hold the gun
PLAYER_GUN_KICKBACK :: 4 // how far to move the gun back when you shoot