From 308aefcbc437664acc4654c51a6d5dfcd346de32 Mon Sep 17 00:00:00 2001 From: nathansmith117 Date: Mon, 6 May 2024 17:50:16 -0600 Subject: Penguin shooting working --- src/shooterScreen.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/shooterScreen.h') 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 { -- cgit v1.2.3