aboutsummaryrefslogtreecommitdiff
path: root/src/constants.odin
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-03-06 18:55:27 -0500
committeriamcheeseman <[email protected]>2026-03-06 18:55:27 -0500
commit4c0c7682433a6da363ed8d608766fe8b52b70669 (patch)
tree988538c2e765abe93cfcc5d82885c9814ed37c2d /src/constants.odin
parent3c7c93a2d844448ac9e8234418a786206a851596 (diff)
yayyy hugbug
Diffstat (limited to 'src/constants.odin')
-rw-r--r--src/constants.odin12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/constants.odin b/src/constants.odin
index cba7f11..326dbe0 100644
--- a/src/constants.odin
+++ b/src/constants.odin
@@ -49,4 +49,16 @@ MAX_SAFE_FALL_HEIGHT :: 8 * 16 // the farthest the player can fall before
MAX_FALL_HEIGHT :: 16 * 16 // the point at which max fall damage is dealt
MUNTIK_SPEED :: 25
+MUNTIK_ACCEL :: 20
MUNTIK_DAMAGE :: 3
+
+HUGBUG_DAMAGE :: 5
+HUGBUG_PATROL_SPEED :: 30
+HUGBUG_PURSUE_SPEED :: 70
+HUGBUG_PATROL_TIMEOUT_MIN :: 1 // Min and max time between target changes
+HUGBUG_PATROL_TIMEOUT_MAX :: 5
+HUGBUG_ACCEL :: 10
+HUGBUG_PATROL_RANGE :: 16 * 3 // How far the hugbug can wander from it's spawn
+ // point while idle.
+HUGBUG_PURSUE_RANGE :: 16 * 5 // How far the player has to be in order to be
+ // pursued.