aboutsummaryrefslogtreecommitdiff
path: root/src/constants.odin
diff options
context:
space:
mode:
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