wobblyhead hg > minor_monsters
comparison doc/game_design.md @ 0:7af9dd4e2595
initial art and design/planning docs
| author | ark |
|---|---|
| date | 2026-10-18 01:26 +0200 |
| parents | |
| children | 2d46729a022e |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:7af9dd4e2595 |
|---|---|
| 1 tower defense game design notes | |
| 2 ------------------------------- | |
| 3 | |
| 4 numbers marked as guesses, and all speeds, ranges and timings, are collected in | |
| 5 balance.md. technical details are in architecture.md. | |
| 6 | |
| 7 - working title "minor monsters" | |
| 8 - runs as a plain html/javascript page, on desktop (mouse) and on tablets | |
| 9 (touch) | |
| 10 - the player only manages towers: build, upgrade, sell. everything else, such | |
| 11 as collecting coins, happens on its own | |
| 12 - no text in the game where an icon will do. icons, ui elements and any | |
| 13 remaining text are supplied as scribbles; see art.md for the list | |
| 14 | |
| 15 maps | |
| 16 ---- | |
| 17 | |
| 18 - map levels 0-3: home, mine entrance, mine, lava depths | |
| 19 *mask images define play areas | |
| 20 monster enter from blue entrance, walk to green exit on red path | |
| 21 towers are placed along path | |
| 22 - maps are played in order. finishing a map unlocks the next one | |
| 23 - progress is stored in the browser (localStorage): unlocked maps and settings | |
| 24 - coins do not carry over between maps; each map starts with its own starting | |
| 25 coins | |
| 26 - map1 and map2 have branching paths, map2 has two entrances. a monster picks | |
| 27 its route when it spawns: | |
| 28 - faster monsters prefer longer or straighter routes | |
| 29 - slower monsters prefer shortcuts | |
| 30 - otherwise all routes are equally likely | |
| 31 - later maps have shorter paths and many more monsters | |
| 32 | |
| 33 towers | |
| 34 ------ | |
| 35 | |
| 36 - towers: | |
| 37 - t0 is close range and projects spikes (p0) from all four sides | |
| 38 damage per tower level: 5,10,15,20 | |
| 39 cost 5 | |
| 40 melee tower: each attack damages every monster in range at once | |
| 41 slower attack than the other towers | |
| 42 spikes are only drawn on the sides that face the path | |
| 43 - t1 is the default generic towers, turns, shoots projectile p1 | |
| 44 damage: 3,7,13,17 | |
| 45 cost 10 | |
| 46 - t2 shoots projectile p2, turns, slows down monsters | |
| 47 slower than t1 | |
| 48 damage: 1,3,5,7 | |
| 49 cost 20 | |
| 50 - t3 is long range sniper tower, turns, shoots p3 | |
| 51 slower than t2 | |
| 52 damage 1,5,7,10 | |
| 53 cost 25 (first planned as 40, lowered for balance) | |
| 54 - art assets for tower levels still need to be processed, contain upgrades 1-4 | |
| 55 for each tower | |
| 56 - towers have 5 levels: t0-t3 are level 1 (the base), the four drawings in | |
| 57 each t*p strip are levels 2-5 | |
| 58 the original drawing sheet gives five damage values for t0 (5,10,15,20,25) | |
| 59 and t1 (3,7,13,17,23), and four for t2 and t3, as above. level 5 of t2 | |
| 60 and t3 is guessed in balance.md | |
| 61 - t3 is meant to be weaker than the other towers; its range lets it reach | |
| 62 more targets | |
| 63 - towers are placed next to the path, never on it. a tap or click snaps to the | |
| 64 nearest legal position, so the player does not have to hit an exact spot | |
| 65 - placing: pick a tower in the shop, tap the map. a preview with its range | |
| 66 appears at the snapped position; tapping the preview builds the tower, | |
| 67 tapping elsewhere moves the preview (suggestion) | |
| 68 - tapping a built tower shows its range and the upgrade and sell buttons | |
| 69 - tower upgrades cost tower base cost * tower level | |
| 70 the level is the new level: building is level 1 and costs the base cost, | |
| 71 the first upgrade (to level 2) costs twice the base cost | |
| 72 - upgrades mainly raise damage. range grows slightly, and so does the slowing | |
| 73 of t2. attack speed stays the same at all levels | |
| 74 - selling a tower refunds half the cost of its last purchase (the build, or | |
| 75 the last upgrade) | |
| 76 exception: a tower built and removed during the same pause, never used, | |
| 77 is refunded in full. the same applies to an upgrade bought and undone | |
| 78 during the same pause | |
| 79 | |
| 80 monsters | |
| 81 -------- | |
| 82 | |
| 83 - monsters m0-m4 are monster levels, drop 1/2/3/4/6 coins on death | |
| 84 hp 5/10/15/20/30 | |
| 85 - all monster levels appear on all maps, in different amounts and proportions. | |
| 86 low levels stay in the mix on later maps to balance the larger numbers | |
| 87 - monsters emulate animation with slight bobbing, squish/stretch on x and y by a | |
| 88 few percent; walking animation is by small hops; hops and animation may | |
| 89 overlap out of red path | |
| 90 - bosses are map-specific, b0 belongs to map0 etc; boss hp 30/50/70/100 coin | |
| 91 drop equal to hp | |
| 92 - hp bars are always shown above every monster. the boss uses its own bar, also | |
| 93 above the boss | |
| 94 - dropped coins fly to the coin counter on their own. each coin uses a random | |
| 95 one of c0-c3 | |
| 96 | |
| 97 economy and waves | |
| 98 ----------------- | |
| 99 | |
| 100 - starting coins per map level: 10, 20, 40, 60 | |
| 101 - balance of monster speed vs tower fire frequency tbd | |
| 102 - several monster waves per map with breaks between them, total 10*map | |
| 103 starting coins, last wave includes boss | |
| 104 - the break between waves counts down, and the next wave starts on its own | |
| 105 when it runs out. a button starts the next wave early and pays a coin bonus | |
| 106 based on the seconds left. this is how most tower defense games handle it | |
| 107 - the breaks are longer than first planned, to give time to build | |
| 108 | |
| 109 hearts | |
| 110 ------ | |
| 111 | |
| 112 - each map starts with a number of hearts | |
| 113 - a monster that reaches the exit costs one heart, a boss costs more | |
| 114 - at zero hearts the map is lost and can be restarted | |
| 115 - the map is won when the last wave, including the boss, is cleared | |
| 116 | |
| 117 controls | |
| 118 -------- | |
| 119 | |
| 120 - pause, with building, upgrading and selling allowed while paused | |
| 121 - game speed 1x and 2x (suggestion) | |
| 122 - input via pointer events, so mouse and touch work the same. no part of the | |
| 123 game depends on mouse hover | |
| 124 | |
| 125 sound | |
| 126 ----- | |
| 127 | |
| 128 - placeholder beeps for now, generated in the browser | |
| 129 - voice recordings will replace them later; see sound.md |
