wobblyhead hg > minor_monsters
view doc/art.md @ 8:2c4fed8baed9
art update, persistent sound setting, tower selling as double action
| author | ark |
|---|---|
| date | 2026-10-19 13:37 +0200 |
| parents | 4fd2da999ba4 |
| children | 53f015966118 |
line wrap: on
line source
art assets ---------- b0-b3: boss monsters for each map level c0-c3: coin variants hpb: hp bar for bosses hpm: hp bar for monsters m0-m4: monster progression map0-map3: map level art. maps are to be scaled approx 400% map*mask: map level definitions, blue: monster entrance, red: path, green: exit p0-p3: projectiles for defense towers t0-t3: defense towers t*p: defense towers upgrade progression art_sources/: the scans the drawings were cut from art_sources/source_sheet.jpg: the original drawing sheet with all sprites, maps, damage values, monster and boss coins, and starting coins per map. map numbers on the sheet start at 1 (M1-M4 are map0-map3) art_sources/source_sheet_2.jpg: the same sheet with the sprite outlines inked in black, and monster hp and tower costs added. m*, b*, t*, t*p, p* and the hp bars are cut from it by tools/cut_sheet.py splash.png: splash screen including play button splash_play.png: play button from splash screen map_won.png: map won screen map_won_button.png: arrow button from map won screen game_lost.png: map/game lost game_lost_button.png: button from game_lost game_won.png: game won screen, cut from art_sources/game_won.jpg game_won_button.png: restart button from game_won, cut from the same scan sound_on.png, sound_off.png: sound setting speed_x1.png, speed_x2.png, speed_x4.png: speed selection buttons play_button.png, pause_button.png: play and pause monster_icon.png: monster/wave count icon digits.png: sheet with all digits and a slash, in multiple variants. tools/cut_digits.py cuts it into art/digits/ monster_death.png: monster death puff boss_death.png: boss death puff upgrade_button.png, sell_button.png: upgrade and sell buttons tower_popup.png: bubble for tower upgrade/sell popup next_wave.png: start next wave early button shop_bubble.png: tower shop items bubble shop_bubble_dark.png, shop_bubble_dark2.png: selected tower shop item bubble in 2 variants heart.png: heart counter icon coin_icon.png: coin counter icon notes: - writing numbers should use digit variants. scale digits to same size in preprocessing. - start next wave early omit bonus coins count files in art/ stay as supplied, apart from the sprites cut from a sheet and the sounds cut from the recordings. the build (see architecture.md) writes processed copies to game/assets/. attn: the source_sheet_* files have the towers t0 and t1 swapped. sound source files in art/sound_sources, all phone voice recordings, named after their sound event (sound.md). tools/cut_sounds.py cuts them into art/sounds/; a recording with variants gives one sound per variant: t0_attack: t0 attack, 4 variants t1_shot: t1 tower shot, 6 variants t2_shot: t2 tower shot, 4 variants t3_shot: t3 shot, 7 variants monster_enter: monster enters map, 3 variants monster_exit: monster reaches map exit monster_die: monster death, 4 variants boss_enter: boss enters map boss_exit: boss reaches map exit boss_die: boss death map_won: level win map_lost: game lost state of the files ------------------ - t0-t3, m0-m4, b0-b3, p0-p3, hpm, hpb: cut from source_sheet_2.jpg at the sheet's scale. black outlines, transparent outside. inside, the paper is white and drawn colour is kept (bosses, hp bars) - c0-c3: cut out by hand from the first sheet, transparent outside - towers have 5 levels. t0-t3 are level 1 - t*p: outlines of tower levels 2-5 side by side, cut from the same sheet as level 1, so the sizes follow on. the build splits them and fills any inside left transparent white - on the sheet, the tower row runs t1, t0, t2, t3 and the projectile row p1, p0, p2, p3 - t3 level 5 is a different design from levels 1-4 (square with a barrel instead of a triangle) - maps: scans with paper edges. map and mask of the same number line up pixel for pixel - masks: soft (anti-aliased) edges, colours are pure red, blue and green otherwise. map1 has branches, map2 has two entrances and loops - icons, buttons and screens: transparent outside, apart from splash.png, which is opaque with white paper. the separate screen buttons are exact crops of the buttons in their screen drawings - art/digits/: every drawing on digits.png is one variant, named after the character and a number (0_1, 0_2, ..., slash_1). all are scaled to the same height, the median of the drawings, and the paper is transparent. the 10, 11 and 12 on the sheet give single digits drawing direction ----------------- turning towers and projectiles are rotated to face their target. each sprite records which way it points as drawn, so the game can correct for it. angles as on screen: 0 is right, -90 is up. | sprite | points to | angle | |---------------|-----------|-------| | t0, all levels | does not turn | - | | t1, all levels | right | 0 | | t2, all levels | up | -90 | | t3 levels 1-4 | up-right | -45 | | t3 level 5 | up | -90 | | p0 | up | -90 | | p1 | any (square) | - | | p2 | any (round) | - | | p3 | up-right | -45 | the whole tower sprite turns, base included; the drawings do not separate a base from a turret. rotation is around the centre of the trimmed image unless the config sets another point. monsters and bosses face the viewer and are not rotated or mirrored. hp bars ------- the bar is drawn cut to the share of hp left. the empty part is drawn as a darkened copy of the bar (suggestion). hpm sits above every monster, hpb above the boss. while t2 slows a monster, its bar is drawn in blue. the build makes the blue bars from hpm and hpb by changing the colour of the green inside to blue; the outline stays as drawn. the empty part of a blue bar is a darkened copy of the blue bar. art still needed ---------------- every icon and screen in the list above is in the game. not drawn yet: - cancel or close. the game has no such button so far; a second tap on the chosen shop item cancels it - plus sign. the early start button no longer shows the bonus, so it is not needed for now optional: - t0 spike burst, if p0 alone does not read well as an attack - hit puffs - a mark for a refused placement. the game draws a red cross for now drawing tips for these: dark outline, white or coloured inside, on white paper with space around each item, so the build can cut them out the same way as the existing sprites. possible addition ----------------- if decorated areas of a map, such as the lava pools on map3, should be off limits for towers, a fourth mask colour (for example black) could mark them. not decided.
