manage cover too
authorMatteo Nastasi <nastasi@alternativeoutput.it>
Thu, 30 Apr 2020 08:12:58 +0000 (10:12 +0200)
committerMatteo Nastasi <nastasi@alternativeoutput.it>
Thu, 30 Apr 2020 08:16:49 +0000 (10:16 +0200)
bin/spriter.sh
briskin5/img/40_bord.png [new file with mode: 0644]
briskin5/img/40_bord_ea.png [new file with mode: 0644]
briskin5/img/40_bord_we.png [new file with mode: 0644]

index a972251..981b77b 100755 (executable)
@@ -14,15 +14,18 @@ fou=$3
 w=$(identify -format "%w" ${fold}/00${sfx}.png)
 h=$(identify -format "%h" ${fold}/00${sfx}.png)
 
-convert -size $((w * 8))x$((h * 6)) xc:none ${fou}${sfx}_bg.png
+convert -size $((w * 9))x$((h * 5)) xc:none ${fou}${sfx}_bg.png
 
 argz="${fou}${sfx}_bg.png"
 
-for seed in 0 1 2 3; do
+for seed in 0 1 2 3 4; do
     for card in $(seq 0 9); do
         x=$(((seed * 2 + card / 5) * w)) 
         y=$(((card % 5) * h))
         argz="$argz $(printf "%s/%02d%s.png" "$fold" "$((seed * 10 + card))" "$sfx") -geometry +${x}+${y} -composite "
+        if [ $seed -eq 4 ]; then
+            break
+        fi
     done
 done
 
diff --git a/briskin5/img/40_bord.png b/briskin5/img/40_bord.png
new file mode 100644 (file)
index 0000000..adf3e4d
Binary files /dev/null and b/briskin5/img/40_bord.png differ
diff --git a/briskin5/img/40_bord_ea.png b/briskin5/img/40_bord_ea.png
new file mode 100644 (file)
index 0000000..4dcf107
Binary files /dev/null and b/briskin5/img/40_bord_ea.png differ
diff --git a/briskin5/img/40_bord_we.png b/briskin5/img/40_bord_we.png
new file mode 100644 (file)
index 0000000..4dcf107
Binary files /dev/null and b/briskin5/img/40_bord_we.png differ