diff options
Diffstat (limited to 'src/constants.odin')
| -rw-r--r-- | src/constants.odin | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/constants.odin b/src/constants.odin index d415c3e..2875f4c 100644 --- a/src/constants.odin +++ b/src/constants.odin @@ -2,3 +2,24 @@ package demonchime GRAVITY :: 1000 TERMINAL_VELOCITY :: 900 + +CAMERA_ACCEL :: 15 + +PLAYER_SPEED :: 100 +PLAYER_ACCEL :: 30 +PLAYER_JUMP_FORCE :: 350 +PLAYER_DOUBLE_JUMP_FORCE :: 250 + +PLAYER_JUMP_BUFFERING :: 0.07 +PLAYER_COYOTE_TIME :: 0.06 +PLAYER_JUMP_RELEASE_CUT :: -100 + +PLAYER_DASH_SPEED :: 500 +PLAYER_DASH_TIME :: 0.15 +PLAYER_DASH_COOLDOWN :: 0.3 + +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 + +PLAYER_SCARF_DIST :: 5 |
