diff doc/art.md @ 0:7af9dd4e2595

initial art and design/planning docs
author ark
date 2026-10-18 01:26 +0200
parents
children 3dd5b745fa08
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/art.md	Sun Oct 18 01:26:39 2026 +0200
@@ -0,0 +1,127 @@
+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)
+
+files in art/ stay as supplied. the build (see architecture.md) writes
+processed copies to game/assets/.
+
+
+state of the files
+------------------
+
+- t0-t3, m0-m4, b0-b3, p0-p3, c0-c3, hpb: cut out, transparent outside, white
+  inside. ready to use after trimming
+- hpm: no transparency, the whole rectangle is opaque. usable as a bar
+- towers have 5 levels. t0-t3 are level 1, already processed
+- t*p: pencil outlines of tower levels 2-5 side by side. transparent outside
+  and inside. the build splits them and fills the inside white
+- the strip drawings are close in design to level 1, and the scan scale may
+  differ. to check when processing that the sizes follow on from level 1
+- 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.