comparison config/game.toml @ 21:fa04481563b7

doc update
author ark
date 2026-10-20 00:44 +0200
parents 4348b83d3e6b
children ad1b478fc4dc
comparison
equal deleted inserted replaced
20:4348b83d3e6b 21:fa04481563b7
210 map_won = { volume = 1.0 } # guess 210 map_won = { volume = 1.0 } # guess
211 map_lost = { volume = 1.0 } # guess 211 map_lost = { volume = 1.0 } # guess
212 212
213 213
214 # sprite drawing direction (art.md): angle the drawing points to as drawn, 214 # sprite drawing direction (art.md): angle the drawing points to as drawn,
215 # 0 right, -90 up. sprites not listed do not turn. 215 # 0 right, -90 up. sprites not listed do not turn. set by hand, the towers
216 # checked in temp/preview/towers.png.
216 [art.angle] 217 [art.angle]
217 t1 = -2 218 t1 = -2
218 t1_2 = -3 219 t1_2 = -3
219 t1_3 = -6 220 t1_3 = -6
220 t1_4 = 0 221 t1_4 = 0
236 # rotation point as a share of the trimmed image's width and height, for 237 # rotation point as a share of the trimmed image's width and height, for
237 # sprites that do not turn around their centre (art.md). proto, checked in 238 # sprites that do not turn around their centre (art.md). proto, checked in
238 # temp/preview/towers.png. t1: the centre of the base square measured on 239 # temp/preview/towers.png. t1: the centre of the base square measured on
239 # source_sheet_2 cutouts. t2: the middle of the rows at least 60 % as wide as 240 # source_sheet_2 cutouts. t2: the middle of the rows at least 60 % as wide as
240 # the widest row, which leaves out the barrel. t3: the centroid of the shape 241 # the widest row, which leaves out the barrel. t3: the centroid of the shape
241 # with parts narrower than 41 pixels removed, an estimate to adjust by hand. 242 # with parts narrower than 41 pixels removed, an estimate adjusted by hand.
242 [art.pivot] 243 [art.pivot]
243 t1 = [0.37, 0.5] 244 t1 = [0.37, 0.5]
244 t1_2 = [0.30, 0.5] 245 t1_2 = [0.30, 0.5]
245 t1_3 = [0.33, 0.48] 246 t1_3 = [0.33, 0.48]
246 t1_4 = [0.35, 0.52] 247 t1_4 = [0.35, 0.52]