aboutsummaryrefslogtreecommitdiff
path: root/src/constants.odin
diff options
context:
space:
mode:
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.