wobblyhead hg > minor_monsters
comparison doc/roadmap.md @ 14:7fda634d15ad
adjustments to wave logic, tower pivot points
| author | ark |
|---|---|
| date | 2026-10-19 22:50 +0200 |
| parents | 8df95050fc8b |
| children | c1c7e4f54bf6 |
comparison
equal
deleted
inserted
replaced
| 13:8df95050fc8b | 14:7fda634d15ad |
|---|---|
| 124 | 124 |
| 125 - per map: [map.N] holds starting_coins, early_bonus, wave_count and | 125 - per map: [map.N] holds starting_coins, early_bonus, wave_count and |
| 126 monster_share, followed by the [[map.N.wave]] lists | 126 monster_share, followed by the [[map.N.wave]] lists |
| 127 - added: hit_radius in [animation] (0.4 of the monster sprite's smaller | 127 - added: hit_radius in [animation] (0.4 of the monster sprite's smaller |
| 128 side), min_weight in [route_preference] (the "at least 0.1" of the rule), | 128 side), min_weight in [route_preference] (the "at least 0.1" of the rule), |
| 129 [art.angle] and [art.pivot]. t1 turns around the middle of its box, not | 129 [art.angle] and [art.pivot]. the turning towers turn around the middle of |
| 130 the middle of the image; the pivots for levels 1-5 are the centre of the | 130 their body, not the middle of the image. t1: the centre of the box |
| 131 box measured on the cutouts. temp/preview/towers.png marks them | 131 measured on the cutouts. t2: the middle of the round body, found as the |
| 132 rows at least 60 % as wide as the widest row. t3: an estimate, the | |
| 133 centroid of the shape once the barrel and star tips are removed, to adjust | |
| 134 by hand. temp/preview/towers.png marks them | |
| 132 - draft waves: monster counts per level from the coin shares. each level is | 135 - draft waves: monster counts per level from the coin shares. each level is |
| 133 spread over the waves by the coin budget still open, with wave n worth n | 136 spread over the waves by the coin budget still open, with wave n worth n |
| 134 shares. higher levels start later: m1 after 15 % of the waves, m2 35 %, m3 | 137 shares. higher levels start later: m1 after 15 % of the waves, m2 35 %, m3 |
| 135 50 %, m4 65 %. groups hold at most 5 monsters and alternate between | 138 50 %, m4 65 %. spawn interval 1.0 s on maps 0 and 1, 0.8 s on map2, 0.7 s |
| 136 levels. spawn interval 1.0 s on maps 0 and 1, 0.8 s on map2, 0.7 s on | 139 on map3. totals: 102, 199, 398, 600 coins |
| 137 map3. 2 s between groups, 4 s before the boss. totals: 102, 199, 398, 600 | |
| 138 coins | |
| 139 | 140 |
| 140 game: | 141 game: |
| 141 | 142 |
| 142 - scripts share the namespace object MM. storage.js keeps the settings in | 143 - scripts share the namespace object MM. storage.js keeps the settings in |
| 143 the localStorage entry minor_monsters, as version 1 | 144 the localStorage entry minor_monsters, as version 1 |
