comparison doc/balance.md @ 9:53f015966118

map, path, tower placement adjustments
author ark
date 2026-10-19 15:55 +0200
parents 2c4fed8baed9
children 22b604680c5a
comparison
equal deleted inserted replaced
8:2c4fed8baed9 9:53f015966118
25 | map images | 1.0 | notes | 25 | map images | 1.0 | notes |
26 | towers, monsters, projectiles | 0.25 | notes ("maps scaled approx 400%") | 26 | towers, monsters, projectiles | 0.25 | notes ("maps scaled approx 400%") |
27 | coins | 0.4 | guess, 0.25 makes them about 10 pixels | 27 | coins | 0.4 | guess, 0.25 makes them about 10 pixels |
28 | hp bars | 0.25 | guess | 28 | hp bars | 0.25 | guess |
29 29
30 measured from the masks (approximate, from red area divided by path width): 30 measured from the earlier masks, which covered the whole road (approximate,
31 from red area divided by path width):
31 32
32 | map | size | path width | path length, all branches | 33 | map | size | path width | path length, all branches |
33 |------|---------|------------|---------------------------| 34 |------|---------|------------|---------------------------|
34 | map0 | 705x697 | 56 | 1930 | 35 | map0 | 705x697 | 56 | 1930 |
35 | map1 | 663x590 | 48 | 1350 | 36 | map1 | 663x590 | 48 | 1350 |
167 --------- 168 ---------
168 169
169 | parameter | value | source | 170 | parameter | value | source |
170 |--------------------------------------------|-------|--------| 171 |--------------------------------------------|-------|--------|
171 | tower footprint radius | 16 | guess | 172 | tower footprint radius | 16 | guess |
172 | largest gap between footprint and path edge | 14 | guess | 173 | road half width, centre line to road edge | per map: 19, 17, 16, 22 | measured from the earlier masks |
174 | largest gap between footprint and road edge | 14 | guess |
175 | space between footprint and spawn point | per map: 50 | decided |
176 | space between footprint and exit point | per map: 40 | decided |
173 | smallest distance between tower centres | 32 | derived (two footprints) | 177 | smallest distance between tower centres | 32 | derived (two footprints) |
174 | distance from the map edge | 16 | guess | 178 | distance from the map edge | 16 | guess |
175 | snap radius, how far a tap may be from a legal position | 48 | guess | 179 | snap radius, how far a tap may be from a legal position | 48 | guess |
176 | placement grid cell | 4 | guess | 180 | placement grid cell | 4 | guess |
177 181
178 towers may not be placed on the entrance or exit areas. 182 towers may not be placed on the entrance or exit areas.
183
184 the spawn point is where the path leaves the blue entrance area. the space
185 between it and a tower footprint is one to one and a half times the average
186 tower size (decided). level 1 towers average about 36 pixels across at sprite
187 scale 0.25, so the space is 36 to 53 pixels.
188
189 the exit point is where the path enters the green exit area. towers keep a
190 somewhat smaller space from it (decided), so they do not cover the building
191 drawn at the exit.
179 192
180 193
181 economy 194 economy
182 ------- 195 -------
183 196