view doc/art.md @ 6:910b26feca76

full game flow
author ark
date 2026-10-19 01:05 +0200
parents 2d46729a022e
children 4fd2da999ba4
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 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


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
----------------

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
- next map, on the map won screen
- restart, on the map lost and game won screens

screens (game_design.md):

- splash: title "minor monsters", byline "By M.A. and J.A. Juszczyk", play
  button. it is drawn over the paused first map
- map won
- game won, after the last map
- 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 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.