diff options
author | nathansmith117 <thenathansmithsmith@gmail.com> | 2024-05-06 23:50:16 +0000 |
---|---|---|
committer | nathansmith117 <thenathansmithsmith@gmail.com> | 2024-05-06 23:50:16 +0000 |
commit | 308aefcbc437664acc4654c51a6d5dfcd346de32 (patch) | |
tree | d6e7e4138d3149fb849a02718ddb42e7e8883538 /src/shooterScreen.h | |
parent | 2e90f9f959b0fcefbea728a00dda8c1cfed222fb (diff) | |
download | PenguinYippies-308aefcbc437664acc4654c51a6d5dfcd346de32.tar.gz PenguinYippies-308aefcbc437664acc4654c51a6d5dfcd346de32.tar.bz2 PenguinYippies-308aefcbc437664acc4654c51a6d5dfcd346de32.zip |
Penguin shooting working
Diffstat (limited to 'src/shooterScreen.h')
-rw-r--r-- | src/shooterScreen.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/shooterScreen.h b/src/shooterScreen.h index f077ee6..054af15 100644 --- a/src/shooterScreen.h +++ b/src/shooterScreen.h @@ -11,7 +11,7 @@ #define PLAYER_FALL_SPEED 20.0 #define PLAYER_JUMP_HEIGHT 8.0 -#define MOUSE_SPEED 0.01 +#define MOUSE_SPEED 0.005 #define SHOOTER_PENGUIN_COUNT 10 #define SHOOTER_PENGUIN_HEIGHT 1.0 @@ -36,10 +36,11 @@ typedef struct ShooterPlayer { typedef struct ShooterPenguin { Vector3 position; Vector3 velocity; - float sleepyness; double changeSpeedDelay; double lastVelocityChange; + + bool isDead; } ShooterPenguin; typedef struct ShooterScreen { |