wobblyhead hg > minor_monsters
diff doc/game_design.md @ 6:910b26feca76
full game flow
| author | ark |
|---|---|
| date | 2026-10-19 01:05 +0200 |
| parents | 2d46729a022e |
| children | 2c4fed8baed9 |
line wrap: on
line diff
--- a/doc/game_design.md Sun Oct 18 22:50:24 2026 +0200 +++ b/doc/game_design.md Mon Oct 19 01:05:29 2026 +0200 @@ -19,8 +19,13 @@ *mask images define play areas monster enter from blue entrance, walk to green exit on red path towers are placed along path -- maps are played in order. finishing a map unlocks the next one -- progress is stored in the browser (localStorage): unlocked maps and settings +- maps are played in order. after a won map the only way on is the next map. + a lost map sends the player back to the first map. there is no map + selection. to be reviewed after playtesting +- the first map is map0, or the map set by the debug start switch + (architecture.md) +- nothing is stored in the browser for now. a reload starts again at the + splash screen with a fresh game - coins do not carry over between maps; each map starts with its own starting coins - map1 and map2 have branching paths, map2 has two entrances. a monster picks @@ -45,6 +50,7 @@ cost 10 - t2 shoots projectile p2, turns, slows down monsters slower than t1 + a slowed monster's hp bar turns blue damage: 1,3,5,7 cost 20 - t3 is long range sniper tower, turns, shoots p3 @@ -71,11 +77,13 @@ the first upgrade (to level 2) costs twice the base cost - upgrades mainly raise damage. range grows slightly, and so does the slowing of t2. attack speed stays the same at all levels -- selling a tower refunds half the cost of its last purchase (the build, or - the last upgrade) - exception: a tower built and removed during the same pause, never used, - is refunded in full. the same applies to an upgrade bought and undone - during the same pause +- selling a tower refunds half of everything paid for it: the build and all + its upgrades. a tower is always sold whole; upgrades cannot be sold one by + one + exception: purchases made during the current pause are refunded in full. + a tower built and sold during the same pause, never used, costs nothing. + an upgrade bought during a pause comes back in full if the tower is sold + before the game resumes; the rest of the tower sells at half monsters -------- @@ -90,7 +98,7 @@ - bosses are map-specific, b0 belongs to map0 etc; boss hp 30/50/70/100 coin drop equal to hp - hp bars are always shown above every monster. the boss uses its own bar, also - above the boss + above the boss. the bar turns blue while t2 slows the monster - dropped coins fly to the coin counter on their own. each coin uses a random one of c0-c3 @@ -111,9 +119,22 @@ - each map starts with a number of hearts - a monster that reaches the exit costs one heart, a boss costs more -- at zero hearts the map is lost and can be restarted +- at zero hearts the map is lost, and play starts again at the first map - the map is won when the last wave, including the boss, is cleared +screens +------- + +- splash: title "minor monsters", byline "By M.A. and J.A. Juszczyk" and a + play button, drawn over the first map with the game paused. the play button + also starts the sound +- map won, on maps before the last: one button, next, which starts the next + map +- game won, after the last map: one button, restart, which goes back to the + splash screen +- map lost: one button, which starts the first map +- all screens are placeholders until the drawings arrive (art.md) + controls --------
