wobblyhead hg > minor_monsters
comparison doc/architecture.md @ 10:22b604680c5a
adjusted monster movement to be less uniform
| author | ark |
|---|---|
| date | 2026-10-19 16:56 +0200 |
| parents | 53f015966118 |
| children | a77857594150 |
comparison
equal
deleted
inserted
replaced
| 9:53f015966118 | 10:22b604680c5a |
|---|---|
| 155 map0 and map3 give one route each. map1 and map2 give several; map2 may give | 155 map0 and map3 give one route each. map1 and map2 give several; map2 may give |
| 156 more than wanted. config/routes.toml can drop routes, set fixed weights, or | 156 more than wanted. config/routes.toml can drop routes, set fixed weights, or |
| 157 replace a route with hand-placed points, for cases where the automatic result | 157 replace a route with hand-placed points, for cases where the automatic result |
| 158 is wrong. | 158 is wrong. |
| 159 | 159 |
| 160 the game walks a monster along the route's centre line, by distance, and | |
| 161 draws it beside the line. the offset is set per monster at spawn | |
| 162 (balance.md, monsters) and needs no route data from the build. when a map | |
| 163 loads, each route works out the sideways direction at its points and how far | |
| 164 an offset may go on the inside of each bend. towers rank monsters by their | |
| 165 distance along the centre line, so the offset does not change the order. | |
| 166 | |
| 160 | 167 |
| 161 config | 168 config |
| 162 ------ | 169 ------ |
| 163 | 170 |
| 164 config/game.toml holds every number in balance.md, the wave lists, and debug | 171 config/game.toml holds every number in balance.md, the wave lists, and debug |
