comparison doc/roadmap.md @ 2:3dd5b745fa08

updated art with inked drawings
author ark
date 2026-10-18 15:08 +0200
parents 5492efd60e2c
children 2d46729a022e
comparison
equal deleted inserted replaced
1:5492efd60e2c 2:3dd5b745fa08
54 - a step is skipped when its outputs are newer than its inputs and the build 54 - a step is skipped when its outputs are newer than its inputs and the build
55 scripts. the mask step also reruns when the placement settings in 55 scripts. the mask step also reruns when the placement settings in
56 game.toml change; it keeps its result in temp/build/maps.json for the 56 game.toml change; it keeps its result in temp/build/maps.json for the
57 checks and previews 57 checks and previews
58 - map images are written as jpeg, quality 88. the maps have no transparency 58 - map images are written as jpeg, quality 88. the maps have no transparency
59 - tower strips are split at columns without pencil. pencil is anything darker 59 - tower strips are split at columns without ink. ink is anything darker
60 than luminance 225. outline gaps of up to about 4 pixels are closed before 60 than luminance 225. outline gaps of up to about 4 pixels are closed before
61 the fill. the white paper edge outside the outline fades to transparent 61 the fill. the white paper edge outside the outline fades to transparent
62 - tools/cut_sheet.py cuts the sprites out of source_sheet_2.jpg into art/. it
63 is run by hand, not by the build. one hand-set box per drawing; in each box
64 the largest connected outline is the drawing and other ink is dropped.
65 outline ink is darker than luminance 150. sprites stay at the sheet's
66 scale, which is the scale the first cutouts had, so [scale] is unchanged.
67 coins and maps are not on the inked sheet and stay as they were
62 - the empty part of the hp bars is a darkened copy made by the build 68 - the empty part of the hp bars is a darkened copy made by the build
63 (hpm_empty, hpb_empty) 69 (hpm_empty, hpb_empty)
64 - sprite sizes go into config.js, so the game knows them before the images 70 - sprite sizes go into config.js, so the game knows them before the images
65 load 71 load
66 - mask pixels count when at least half opaque, and take the class of their 72 - mask pixels count when at least half opaque, and take the class of their
97 - per map: [map.N] holds starting_coins, early_bonus, wave_count and 103 - per map: [map.N] holds starting_coins, early_bonus, wave_count and
98 monster_share, followed by the [[map.N.wave]] lists 104 monster_share, followed by the [[map.N.wave]] lists
99 - added: hit_radius in [animation] (0.4 of the monster sprite's smaller 105 - added: hit_radius in [animation] (0.4 of the monster sprite's smaller
100 side), min_weight in [route_preference] (the "at least 0.1" of the rule), 106 side), min_weight in [route_preference] (the "at least 0.1" of the rule),
101 [art.angle] and [art.pivot]. t1 turns around the middle of its box, not 107 [art.angle] and [art.pivot]. t1 turns around the middle of its box, not
102 the middle of the image; the pivots for levels 1-5 are set by eye 108 the middle of the image; the pivots for levels 1-5 are the centre of the
109 box measured on the cutouts. temp/preview/towers.png marks them
103 - draft waves: monster counts per level from the coin shares. each level is 110 - draft waves: monster counts per level from the coin shares. each level is
104 spread over the waves by the coin budget still open, with wave n worth n 111 spread over the waves by the coin budget still open, with wave n worth n
105 shares. higher levels start later: m1 after 15 % of the waves, m2 35 %, m3 112 shares. higher levels start later: m1 after 15 % of the waves, m2 35 %, m3
106 50 %, m4 65 %. groups hold at most 5 monsters and alternate between 113 50 %, m4 65 %. groups hold at most 5 monsters and alternate between
107 levels. spawn interval 1.0 s on maps 0 and 1, 0.8 s on map2, 0.7 s on 114 levels. spawn interval 1.0 s on maps 0 and 1, 0.8 s on map2, 0.7 s on