diff options
author | nathansmith117 <thenathansmithsmith@gmail.com> | 2024-05-06 18:00:14 +0000 |
---|---|---|
committer | nathansmith117 <thenathansmithsmith@gmail.com> | 2024-05-06 18:00:14 +0000 |
commit | f6635129ef339ffa4c3725b6a04b0dd644f2c7cf (patch) | |
tree | 9870c2d0e755614f46bd4637d3e2d9561e668ef7 /src/shooterScreen.h | |
parent | c475f3de248a25a999dafd4792d0454eb55191c1 (diff) | |
download | PenguinYippies-f6635129ef339ffa4c3725b6a04b0dd644f2c7cf.tar.gz PenguinYippies-f6635129ef339ffa4c3725b6a04b0dd644f2c7cf.tar.bz2 PenguinYippies-f6635129ef339ffa4c3725b6a04b0dd644f2c7cf.zip |
Weird jumping
Diffstat (limited to 'src/shooterScreen.h')
-rw-r--r-- | src/shooterScreen.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shooterScreen.h b/src/shooterScreen.h index 9bbc188..7c69a54 100644 --- a/src/shooterScreen.h +++ b/src/shooterScreen.h @@ -6,6 +6,9 @@ #define PLAYER_HEIGHT 2.0 #define MOUSE_SPEED 0.01 #define PLAYER_SPEED 10.0 +#define PLAYER_JUMP_SPEED 15.0 +#define PLAYER_FALL_SPEED 18.0 +#define PLAYER_JUMP_HEIGHT 8.0 typedef struct ShooterPlayer { Camera3D camera; @@ -15,6 +18,8 @@ typedef struct ShooterPlayer { Vector3 velocity; Vector2 cameraAngle; + + int jumpStage; } ShooterPlayer; typedef struct ShooterScreen { |