aboutsummaryrefslogtreecommitdiffstats
path: root/src/shooterScreen.h
diff options
context:
space:
mode:
authornathansmith117 <thenathansmithsmith@gmail.com>2024-05-06 19:38:44 +0000
committernathansmith117 <thenathansmithsmith@gmail.com>2024-05-06 19:38:44 +0000
commite9787dccd1cc1f0ef096ecde381f9f817a86260a (patch)
tree99ee0a07ae29d8dbdb8c33f44cb66b60f8848f09 /src/shooterScreen.h
parentfcd2d57b2a28c0e342ba8bf668a4501f845a6df0 (diff)
downloadPenguinYippies-e9787dccd1cc1f0ef096ecde381f9f817a86260a.tar.gz
PenguinYippies-e9787dccd1cc1f0ef096ecde381f9f817a86260a.tar.bz2
PenguinYippies-e9787dccd1cc1f0ef096ecde381f9f817a86260a.zip
Penguins moving in shooter
Diffstat (limited to 'src/shooterScreen.h')
-rw-r--r--src/shooterScreen.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/shooterScreen.h b/src/shooterScreen.h
index 2d9d533..720b961 100644
--- a/src/shooterScreen.h
+++ b/src/shooterScreen.h
@@ -13,8 +13,11 @@
#define MOUSE_SPEED 0.01
-#define SHOOTER_PENGUIN_COUNT 5
+#define SHOOTER_PENGUIN_COUNT 10
#define SHOOTER_PENGUIN_HEIGHT 1.0
+#define SHOOTER_PENGUIN_CHANGE_DELAY_MIN 0 // Goes at you at 0
+#define SHOOTER_PENGUIN_CHANGE_DELAY_MAX 7
+#define SHOOTER_PENGUIN_SPEED 8.0
typedef struct ShooterPlayer {
Camera3D camera;
@@ -34,6 +37,9 @@ typedef struct ShooterPenguin {
Vector3 position;
Vector3 velocity;
float sleepyness;
+
+ double changeSpeedDelay;
+ double lastVelocityChange;
} ShooterPenguin;
typedef struct ShooterScreen {