comparison doc/roadmap.md @ 13:8df95050fc8b

no more build during pause; tower popup closes on any click outside it
author ark
date 2026-10-19 21:59 +0200
parents a77857594150
children 7fda634d15ad
comparison
equal deleted inserted replaced
12:dc314bfbb1cf 13:8df95050fc8b
23 5. towers 23 5. towers
24 - shop, placement with snapping and preview, targeting, projectiles, 24 - shop, placement with snapping and preview, targeting, projectiles,
25 damage, hp bars, coin drops and flying coins 25 damage, hp bars, coin drops and flying coins
26 - first playable version of map0 26 - first playable version of map0
27 6. tower details 27 6. tower details
28 - upgrades, selling the whole tower with the pause refund rule, t0 melee 28 - upgrades, selling the whole tower, t0 melee
29 and spike sides, t2 slow with the blue hp bar, boss with its bar 29 and spike sides, t2 slow with the blue hp bar, boss with its bar
30 7. game flow 30 7. game flow
31 - splash screen with title, byline and play button over the paused first 31 - splash screen with title, byline and play button over the paused first
32 map; the play button starts the sound 32 map; the play button starts the sound
33 - map won with next, game won after the last map with restart to the 33 - map won with next, game won after the last map with restart to the
145 two steps per frame. at most 4 steps per frame and speed step; a longer 145 two steps per frame. at most 4 steps per frame and speed step; a longer
146 frame drops the rest 146 frame drops the rest
147 - game flow: the first map is debug.start_map, and only the first map 147 - game flow: the first map is debug.start_map, and only the first map
148 starts at debug.start_wave; the next maps start at wave 1. 148 starts at debug.start_wave; the next maps start at wave 1.
149 debug.start_coins applies to every map. the splash screen pauses the 149 debug.start_coins applies to every map. the splash screen pauses the
150 first map without counting the pause for the sell refund, and only its 150 first map, and only its play button responds. the next map starts with its break running, as
151 play button responds. the next map starts with its break running, as
152 does the first map after a lost map. the splash screen has a pale veil 151 does the first map after a lost map. the splash screen has a pale veil
153 over the map, the other screens a dark one 152 over the map, the other screens a dark one
154 - screens: the scale is the same for all four drawings, set so the widest 153 - screens: the scale is the same for all four drawings, set so the widest
155 and the tallest fit 92 % of the window width and 90 % of its height, at 154 and the tallest fit 92 % of the window width and 90 % of its height, at
156 most 1. the separate button image is drawn over the button in the 155 most 1. the separate button image is drawn over the button in the
184 pixels wide, above it, or below it when there is no room above, kept 183 pixels wide, above it, or below it when there is no room above, kept
185 inside the map. upgrade and sell sit in it side by side, each with its 184 inside the map. upgrade and sell sit in it side by side, each with its
186 price below, and each takes half of the bubble as tap area. the upgrade 185 price below, and each takes half of the bubble as tap area. the upgrade
187 price is the cost of the next level, dimmed when it cannot be afforded; at 186 price is the cost of the next level, dimmed when it cannot be afforded; at
188 level 5 upgrade is left out and sell takes the whole bubble. the sell 187 level 5 upgrade is left out and sell takes the whole bubble. the sell
189 price is the refund. selling clears the selection; upgrading keeps it 188 price is the refund. selling clears the selection; upgrading keeps it.
189 a tap anywhere outside the bubble closes it
190 - selling takes two taps. the first arms it: sell_button pulses by 15 % 190 - selling takes two taps. the first arms it: sell_button pulses by 15 %
191 every 0.5 s with a red glow. the second sells. a tap anywhere else, 191 every 0.5 s with a red glow. the second sells. a tap anywhere else,
192 another button or the map, cancels it; there is no timeout 192 another button or the map, cancels it; there is no timeout
193 - the pause refund counts pauses: each purchase records the pause it was 193 - pausing clears the shop choice, the preview and the tower selection.
194 made in. a purchase made during the current pause is refunded in full 194 while paused, presses on the map do nothing and the shop is dimmed. the
195 top bar buttons, early start included, still work
195 - placement: a press on the map puts the preview at the nearest legal 196 - placement: a press on the map puts the preview at the nearest legal
196 position, and the preview follows the pointer until it is let go. only 197 position, and the preview follows the pointer until it is let go. only
197 the first pointer is followed. a press within the footprint radius or 28 198 the first pointer is followed. a press within the footprint radius or 28
198 css pixels of the preview grabs it: let go after moving at most 10 css 199 css pixels of the preview grabs it: let go after moving at most 10 css
199 pixels, it builds; a longer move drags it, keeping its offset to the 200 pixels, it builds; a longer move drags it, keeping its offset to the