comparison 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
comparison
equal deleted inserted replaced
9:53f015966118 10:22b604680c5a
69 - idle bob 2 % 69 - idle bob 2 %
70 - each monster starts at a random point in its hop cycle, so a group does not 70 - each monster starts at a random point in its hop cycle, so a group does not
71 hop in step 71 hop in step
72 - the death puff shows for 0.4 s 72 - the death puff shows for 0.4 s
73 73
74 variation between monsters, so a group does not walk in single file (all
75 guesses):
76
77 - each monster's speed differs from its table speed by up to 5 % either way.
78 faster ones overtake slower ones
79 - a monster walks beside the centre line of the road, at most 0.45 of the
80 road half width away from it: 8.6, 7.7, 7.2 and 9.9 pixels by map
81 - half of that is a fixed lean to one side, chosen at spawn. the other half
82 wanders, with a new random value every 40 pixels along the route and a
83 smooth change between them
84 - the offset grows from 0 over the first 20 pixels of the route
85 - on the inside of tight bends the offset is reduced, so a monster never moves
86 backwards. monsters may bunch up there
87
74 88
75 route preference 89 route preference
76 ---------------- 90 ----------------
77 91
78 on maps with several routes, a monster picks one at spawn. faster monsters 92 on maps with several routes, a monster picks one at spawn. faster monsters