view doc/art.md @ 3:cc0c32e71090

added sound sources
author ark
date 2026-10-18 20:09 +0200
parents 3dd5b745fa08
children 2d46729a022e
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
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)
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

files in art/ stay as supplied, apart from the sprites cut from a sheet. 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, all phone voice recordings:
    Spike: t0 shot variants x 4
    Canon: t1 tower shot variants x 6
    Frost: t2 tower shot variants x 4
    Sniper: t3 shot variants x 7
    Monster(out): monster enters map variants x 3
    Moster(in): monster reaches map exit
    Monster(die)2: monster death variants x 4
    Boss(out): boss enters map
    Boss(in): boss reaches map exit
    Boss(die): boss death 
    Boss(kill): level win 
    Died: 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


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.


art still needed
----------------

the game uses icons instead of text. until the drawings are supplied, the game
draws simple placeholder shapes and uses a system font for numbers.

icons for the top bar and buttons:

- heart
- coin counter (could reuse c0)
- wave counter
- pause and play
- game speed 1x and 2x
- start next wave early
- upgrade
- sell
- cancel or close
- sound on and off
- restart map
- back to map selection

screens:

- title, "minor monsters"
- map selection; small copies of the maps can serve as buttons
- locked map
- map won
- map lost

numbers:

- digits 0-9 for coins, hearts, wave, countdown and prices, in one consistent
  size
- plus sign, for the early start bonus

optional:

- t0 spike burst, if p0 alone does not read well as an attack
- hit and death puffs
- a mark on slowed monsters
- a frame or background for the tower shop

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.