comparison config/game.toml @ 19:3a831478eda4

adjusted tower pivot and angle definitions to better match scribbled assets
author ark
date 2026-10-20 00:36 +0200
parents 5dc69898a091
children 4348b83d3e6b
comparison
equal deleted inserted replaced
18:5dc69898a091 19:3a831478eda4
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.
216 [art.angle] 216 [art.angle]
217 t1 = 0 217 t1 = -2
218 t1_2 = 0 218 t1_2 = -3
219 t1_3 = 0 219 t1_3 = -6
220 t1_4 = 0 220 t1_4 = 0
221 t1_5 = 0 221 t1_5 = 0
222 t2 = -90 222 t2 = -95
223 t2_2 = -90 223 t2_2 = -90
224 t2_3 = -90 224 t2_3 = -89
225 t2_4 = -90 225 t2_4 = -90
226 t2_5 = -90 226 t2_5 = -95
227 t3 = -45 227 t3 = -43
228 t3_2 = -45 228 t3_2 = -48
229 t3_3 = -45 229 t3_3 = -15
230 t3_4 = -45 230 t3_4 = -15
231 t3_5 = -90 231 t3_5 = -88
232 p0 = -90 232 p0 = -90
233 p3 = -45 233 p3 = -45
234 234
235 # rotation point as a share of the trimmed image's width and height, for 235 # rotation point as a share of the trimmed image's width and height, for
236 # sprites that do not turn around their centre (art.md). proto, checked in 236 # sprites that do not turn around their centre (art.md). proto, checked in
239 # the widest row, which leaves out the barrel. t3: the centroid of the shape 239 # the widest row, which leaves out the barrel. t3: the centroid of the shape
240 # with parts narrower than 41 pixels removed, an estimate to adjust by hand. 240 # with parts narrower than 41 pixels removed, an estimate to adjust by hand.
241 [art.pivot] 241 [art.pivot]
242 t1 = [0.37, 0.5] 242 t1 = [0.37, 0.5]
243 t1_2 = [0.30, 0.5] 243 t1_2 = [0.30, 0.5]
244 t1_3 = [0.33, 0.5] 244 t1_3 = [0.33, 0.48]
245 t1_4 = [0.35, 0.5] 245 t1_4 = [0.35, 0.52]
246 t1_5 = [0.27, 0.5] 246 t1_5 = [0.27, 0.5]
247 t2 = [0.49, 0.57] 247 t2 = [0.49, 0.57]
248 t2_2 = [0.50, 0.61] 248 t2_2 = [0.50, 0.61]
249 t2_3 = [0.49, 0.64] 249 t2_3 = [0.50, 0.64]
250 t2_4 = [0.50, 0.71] 250 t2_4 = [0.48, 0.71]
251 t2_5 = [0.50, 0.72] 251 t2_5 = [0.50, 0.72]
252 t3 = [0.40, 0.62] 252 t3 = [0.40, 0.62]
253 t3_2 = [0.41, 0.59] 253 t3_2 = [0.41, 0.59]
254 t3_3 = [0.41, 0.48] 254 t3_3 = [0.41, 0.43]
255 t3_4 = [0.45, 0.46] 255 t3_4 = [0.45, 0.46]
256 t3_5 = [0.49, 0.54] 256 t3_5 = [0.49, 0.54]
257 257
258 # where the button of each screen sits on the screen's drawing: the top left 258 # where the button of each screen sits on the screen's drawing: the top left
259 # corner of the separate button image, in pixels of the trimmed drawing. 259 # corner of the separate button image, in pixels of the trimmed drawing.