diff doc/balance.md @ 10:22b604680c5a

adjusted monster movement to be less uniform
author ark
date 2026-10-19 16:56 +0200
parents 53f015966118
children 8df95050fc8b
line wrap: on
line diff
--- a/doc/balance.md	Mon Oct 19 15:55:37 2026 +0200
+++ b/doc/balance.md	Mon Oct 19 16:56:38 2026 +0200
@@ -71,6 +71,20 @@
   hop in step
 - the death puff shows for 0.4 s
 
+variation between monsters, so a group does not walk in single file (all
+guesses):
+
+- each monster's speed differs from its table speed by up to 5 % either way.
+  faster ones overtake slower ones
+- a monster walks beside the centre line of the road, at most 0.45 of the
+  road half width away from it: 8.6, 7.7, 7.2 and 9.9 pixels by map
+- half of that is a fixed lean to one side, chosen at spawn. the other half
+  wanders, with a new random value every 40 pixels along the route and a
+  smooth change between them
+- the offset grows from 0 over the first 20 pixels of the route
+- on the inside of tight bends the offset is reduced, so a monster never moves
+  backwards. monsters may bunch up there
+
 
 route preference
 ----------------