diff options
| author | iamcheeseman <[hidden email]> | 2026-01-16 16:12:54 -0500 |
|---|---|---|
| committer | iamcheeseman <[hidden email]> | 2026-01-16 16:12:54 -0500 |
| commit | f60ae3ed7160a4f3c523b2f56ad06dfc8319aca4 (patch) | |
| tree | 56dd395859bde0b73d1e9c899d3bddfbc010eadf /src/constants.odin | |
| parent | 30a49954e4cb434a1c47503c839feb20558a202b (diff) | |
idk i think i made things better
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 |
