comparison doc/game_design.md @ 6:910b26feca76

full game flow
author ark
date 2026-10-19 01:05 +0200
parents 2d46729a022e
children 2c4fed8baed9
comparison
equal deleted inserted replaced
5:67bf3c505145 6:910b26feca76
17 17
18 - map levels 0-3: home, mine entrance, mine, lava depths 18 - map levels 0-3: home, mine entrance, mine, lava depths
19 *mask images define play areas 19 *mask images define play areas
20 monster enter from blue entrance, walk to green exit on red path 20 monster enter from blue entrance, walk to green exit on red path
21 towers are placed along path 21 towers are placed along path
22 - maps are played in order. finishing a map unlocks the next one 22 - maps are played in order. after a won map the only way on is the next map.
23 - progress is stored in the browser (localStorage): unlocked maps and settings 23 a lost map sends the player back to the first map. there is no map
24 selection. to be reviewed after playtesting
25 - the first map is map0, or the map set by the debug start switch
26 (architecture.md)
27 - nothing is stored in the browser for now. a reload starts again at the
28 splash screen with a fresh game
24 - coins do not carry over between maps; each map starts with its own starting 29 - coins do not carry over between maps; each map starts with its own starting
25 coins 30 coins
26 - map1 and map2 have branching paths, map2 has two entrances. a monster picks 31 - map1 and map2 have branching paths, map2 has two entrances. a monster picks
27 its route when it spawns: 32 its route when it spawns:
28 - faster monsters prefer longer or straighter routes 33 - faster monsters prefer longer or straighter routes
43 - t1 is the default generic towers, turns, shoots projectile p1 48 - t1 is the default generic towers, turns, shoots projectile p1
44 damage: 3,7,13,17 49 damage: 3,7,13,17
45 cost 10 50 cost 10
46 - t2 shoots projectile p2, turns, slows down monsters 51 - t2 shoots projectile p2, turns, slows down monsters
47 slower than t1 52 slower than t1
53 a slowed monster's hp bar turns blue
48 damage: 1,3,5,7 54 damage: 1,3,5,7
49 cost 20 55 cost 20
50 - t3 is long range sniper tower, turns, shoots p3 56 - t3 is long range sniper tower, turns, shoots p3
51 slower than t2 57 slower than t2
52 damage 1,5,7,10 58 damage 1,5,7,10
69 - tower upgrades cost tower base cost * tower level 75 - tower upgrades cost tower base cost * tower level
70 the level is the new level: building is level 1 and costs the base cost, 76 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 77 the first upgrade (to level 2) costs twice the base cost
72 - upgrades mainly raise damage. range grows slightly, and so does the slowing 78 - upgrades mainly raise damage. range grows slightly, and so does the slowing
73 of t2. attack speed stays the same at all levels 79 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 80 - selling a tower refunds half of everything paid for it: the build and all
75 the last upgrade) 81 its upgrades. a tower is always sold whole; upgrades cannot be sold one by
76 exception: a tower built and removed during the same pause, never used, 82 one
77 is refunded in full. the same applies to an upgrade bought and undone 83 exception: purchases made during the current pause are refunded in full.
78 during the same pause 84 a tower built and sold during the same pause, never used, costs nothing.
85 an upgrade bought during a pause comes back in full if the tower is sold
86 before the game resumes; the rest of the tower sells at half
79 87
80 monsters 88 monsters
81 -------- 89 --------
82 90
83 - monsters m0-m4 are monster levels, drop 1/2/3/4/6 coins on death 91 - monsters m0-m4 are monster levels, drop 1/2/3/4/6 coins on death
88 few percent; walking animation is by small hops; hops and animation may 96 few percent; walking animation is by small hops; hops and animation may
89 overlap out of red path 97 overlap out of red path
90 - bosses are map-specific, b0 belongs to map0 etc; boss hp 30/50/70/100 coin 98 - bosses are map-specific, b0 belongs to map0 etc; boss hp 30/50/70/100 coin
91 drop equal to hp 99 drop equal to hp
92 - hp bars are always shown above every monster. the boss uses its own bar, also 100 - hp bars are always shown above every monster. the boss uses its own bar, also
93 above the boss 101 above the boss. the bar turns blue while t2 slows the monster
94 - dropped coins fly to the coin counter on their own. each coin uses a random 102 - dropped coins fly to the coin counter on their own. each coin uses a random
95 one of c0-c3 103 one of c0-c3
96 104
97 economy and waves 105 economy and waves
98 ----------------- 106 -----------------
109 hearts 117 hearts
110 ------ 118 ------
111 119
112 - each map starts with a number of hearts 120 - each map starts with a number of hearts
113 - a monster that reaches the exit costs one heart, a boss costs more 121 - 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 122 - at zero hearts the map is lost, and play starts again at the first map
115 - the map is won when the last wave, including the boss, is cleared 123 - the map is won when the last wave, including the boss, is cleared
124
125 screens
126 -------
127
128 - splash: title "minor monsters", byline "By M.A. and J.A. Juszczyk" and a
129 play button, drawn over the first map with the game paused. the play button
130 also starts the sound
131 - map won, on maps before the last: one button, next, which starts the next
132 map
133 - game won, after the last map: one button, restart, which goes back to the
134 splash screen
135 - map lost: one button, which starts the first map
136 - all screens are placeholders until the drawings arrive (art.md)
116 137
117 controls 138 controls
118 -------- 139 --------
119 140
120 - pause, with building, upgrading and selling allowed while paused 141 - pause, with building, upgrading and selling allowed while paused