3 # Simple generation of 64x64 tiles
7 mkdir -p ../../images/$dir
10 inkscape -z -e ../../images/${x%.*}.png -w 64 -h 64 $x
18 mkdir -p ../../images/roach_${size}
23 inkscape -z -e ../../images/roach_${size}/${xbase%.*}.png -w ${size} -h ${size} $x
29 mkdir -p ../../images/roach_quartet
31 function quartet_tile {
32 for tile in roach eyes
34 montage ../../images/roach_32/${tile}_${1}.png ../../images/roach_32/${tile}_${2}.png ../../images/roach_32/${tile}_${3}.png ../../images/roach_32/${tile}_${4}.png -geometry -10+0 -background none ../../images/roach_quartet/${tile}_${1}.png
45 mkdir -p ../../images/roach_nonet
48 for tile in roach eyes
50 montage ../../images/roach_21/${tile}_${1}.png ../../images/roach_21/${tile}_${2}.png ../../images/roach_21/${tile}_${3}.png ../../images/roach_21/${tile}_${4}.png ../../images/roach_21/${tile}_${1}.png ../../images/roach_21/${tile}_${2}.png ../../images/roach_21/${tile}_${3}.png ../../images/roach_21/${tile}_${4}.png ../../images/roach_21/${tile}_${1}.png -geometry +0+0 -background none - | convert - -background none -gravity southeast -splice 1x1 ../../images/roach_nonet/${tile}_${1}.png