diff doc/roadmap.md @ 23:2f555a54c332

layout fixes and balancing
author ark
date 2026-10-20 12:04 +0200
parents ad1b478fc4dc
children 3f2811aebb3d
line wrap: on
line diff
--- a/doc/roadmap.md	Tue Oct 20 03:08:56 2026 +0200
+++ b/doc/roadmap.md	Tue Oct 20 12:04:42 2026 +0200
@@ -9,8 +9,7 @@
       config.js
     - check: the processed tower levels look right
 2. maps and routes
-    - mask classification, placement grid, route extraction, routes.toml
-      corrections
+    - mask classification, placement grid, route extraction
     - previews in temp/preview/
     - check: routes on all four maps follow the paths, placement grid looks
       sensible
@@ -117,13 +116,12 @@
   simplified to 0.8 pixel tolerance
 - straightness for the route value is the least turning of the map's routes
   divided by the route's turning. turning is the total, not per length
-- routes.toml names routes by their number in the build output. the numbers
-  change when a mask changes
 - the road half widths are the median distance from the centre line to the
   edge of the earlier masks, which covered the whole road. map0's route is
   2068 long
-- the coin check compares all coins dropped, boss included, with 10 x
-  starting coins
+- the build prints the coins dropped per map, boss included, with and
+  without the starting coins. the earlier check against 10 x the starting
+  coins is gone (balance.md, economy)
 - the build prints the early start bonus for skipping every break, including
   the one before the first wave: 8, 21, 53, 94. balance.md gives 6, 17, 45,
   82, which leaves that break out. the game pays the bonus before the first
@@ -131,8 +129,9 @@
 
 config:
 
-- per map: [map.N] holds starting_coins, early_bonus, wave_count and
-  monster_share, followed by the [[map.N.wave]] lists
+- per map: [map.N] holds starting_coins, early_bonus, wave_count, the
+  draft numbers monster_share, wave_size and first_wave, followed by the
+  [[map.N.wave]] lists
 - added: hit_radius in [animation] (0.4 of the monster sprite's smaller
   side), min_weight in [route_preference] (the "at least 0.1" of the rule),
   [art.angle] and [art.pivot]. the turning towers turn around the middle of
@@ -167,9 +166,9 @@
   drawing; [art.screen] in game.toml holds where, measured by matching the
   images. its tap area is the button image. it pulses by 4 % over 1.2 s;
   under the mouse it is 8 % larger with a shadow
-- a break starts when all monsters of the wave are gone, killed or escaped,
-  not when the last one has spawned. during a break the wave counter shows
-  the next wave
+- a break starts when the last monster of the wave has spawned, not when
+  all of them are gone. monsters of the wave may still be on the map during
+  the break. during a break the wave counter shows the next wave
 - monsters move at constant speed; the hop is drawn only. a hop spends 80 %
   of its time in the air and 20 % landing. the idle bob is a slow breathing
   (1.3 s) on top of the hops, as monsters never stand still
@@ -218,10 +217,15 @@
   grows while the chosen shop item shows shop_bubble_dark and shrinks while
   it shows shop_bubble_dark2. the range circle does not pulse
 - flying coins: one sprite per coin, at most 8, started 0.05 s apart, flying
-  in game time on an arc. they are dropped when the map ends
+  in game time on an arc. they are dropped when the map ends. early start
+  bonus coins start at the exits, taking turns on a map with several, within
+  the exit's radius
 - top bar: coin_icon, heart and monster_icon with their counters. each
   counter keeps the width of a usual largest value (3, 2 and 5
-  characters), so the next one does not move. pause shows pause_button
+  characters), so the next one does not move. when the counters at those
+  widths and the buttons, early start included, do not fit side by side
+  (below about 750 css pixels), the buttons get a second row under the
+  counters, right-aligned as before. pause shows pause_button
   while the game runs and play_button while it is paused. speed shows the
   drawing of the current speed; debug speeds show their number. the early
   start button shows the countdown on next_wave, without the bonus. the top