comparison doc/roadmap.md @ 24:3f2811aebb3d 0.9.0

splash screen buttons, help button, info screen
author ark
date 2026-10-20 15:58 +0200
parents 2f555a54c332
children 75deda08db90
comparison
equal deleted inserted replaced
23:2f555a54c332 24:3f2811aebb3d
164 and the tallest fit 92 % of the window width and 90 % of its height, at 164 and the tallest fit 92 % of the window width and 90 % of its height, at
165 most 1. the separate button image is drawn over the button in the 165 most 1. the separate button image is drawn over the button in the
166 drawing; [art.screen] in game.toml holds where, measured by matching the 166 drawing; [art.screen] in game.toml holds where, measured by matching the
167 images. its tap area is the button image. it pulses by 4 % over 1.2 s; 167 images. its tap area is the button image. it pulses by 4 % over 1.2 s;
168 under the mouse it is 8 % larger with a shadow 168 under the mouse it is 8 % larger with a shadow
169 - splash screen logo and question mark: placed by their top left corner and
170 height in [art.screen], and pulse like the play button. the logo opens
171 logo_url from [links] in a new tab when the pointer is let go over it, as
172 tablets allow a new tab only then. the question mark and the top bar help
173 button have no action until the help popup exists
169 - a break starts when the last monster of the wave has spawned, not when 174 - a break starts when the last monster of the wave has spawned, not when
170 all of them are gone. monsters of the wave may still be on the map during 175 all of them are gone. monsters of the wave may still be on the map during
171 the break. during a break the wave counter shows the next wave 176 the break. during a break the wave counter shows the next wave
172 - monsters move at constant speed; the hop is drawn only. a hop spends 80 % 177 - monsters move at constant speed; the hop is drawn only. a hop spends 80 %
173 of its time in the air and 20 % landing. the idle bob is a slow breathing 178 of its time in the air and 20 % landing. the idle bob is a slow breathing
187 range. with no sample in that range, only the side towards the nearest 192 range. with no sample in that range, only the side towards the nearest
188 one gets a spike. the preview shows the same sides. on map0 about half the 193 one gets a spike. the preview shows the same sides. on map0 about half the
189 placement cells give one side, most of the rest two, a few three 194 placement cells give one side, most of the rest two, a few three
190 - t2 slow: each running slow keeps its own time, and the strongest one 195 - t2 slow: each running slow keeps its own time, and the strongest one
191 applies. a slowed monster also hops slower, by the same factor 196 applies. a slowed monster also hops slower, by the same factor
197 - t2 freeze splash: p2 bursts where it lands, also when its target died on
198 the way. it slows every monster whose hit area the splash touches. the
199 splash is drawn under the monsters, as freeze.png across its diameter at
200 85 % opacity, and grows and fades like a death puff over 0.4 s
201 (freeze_splash in [animation])
192 - tower menu: tapping a built tower shows the tower_popup bubble, 168 css 202 - tower menu: tapping a built tower shows the tower_popup bubble, 168 css
193 pixels wide, above it, or below it when there is no room above, kept 203 pixels wide, above it, or below it when there is no room above, kept
194 inside the map. upgrade and sell sit in it side by side, each with its 204 inside the map. upgrade and sell sit in it side by side, each with its
195 price below, and each takes half of the bubble as tap area. the upgrade 205 price below, and each takes half of the bubble as tap area. the upgrade
196 price is the cost of the next level, dimmed when it cannot be afforded; at 206 price is the cost of the next level, dimmed when it cannot be afforded; at
222 the exit's radius 232 the exit's radius
223 - top bar: coin_icon, heart and monster_icon with their counters. each 233 - top bar: coin_icon, heart and monster_icon with their counters. each
224 counter keeps the width of a usual largest value (3, 2 and 5 234 counter keeps the width of a usual largest value (3, 2 and 5
225 characters), so the next one does not move. when the counters at those 235 characters), so the next one does not move. when the counters at those
226 widths and the buttons, early start included, do not fit side by side 236 widths and the buttons, early start included, do not fit side by side
227 (below about 750 css pixels), the buttons get a second row under the 237 (below about 800 css pixels), the buttons get a second row under the
228 counters, right-aligned as before. pause shows pause_button 238 counters, right-aligned as before. the buttons run help, pause, speed,
239 sound and early start from the right. pause shows pause_button
229 while the game runs and play_button while it is paused. speed shows the 240 while the game runs and play_button while it is paused. speed shows the
230 drawing of the current speed; debug speeds show their number. the early 241 drawing of the current speed; debug speeds show their number. the early
231 start button shows the countdown on next_wave, without the bonus. the top 242 start button shows the countdown on next_wave, without the bonus. the top
232 bar needs about 670 css pixels of width; narrower screens are not handled 243 bar needs about 670 css pixels of width; narrower screens are not handled
233 - numbers: the digit variant of each place depends on the digit and its 244 - numbers: the digit variant of each place depends on the digit and its