maidroid/scripts/genEggTextures.sh

13 lines
360 B
Bash
Raw Normal View History

2016-12-28 04:54:04 +01:00
#/bin/bash
. ./colors.sh
for ((i=1; i<16; i++)); do
output="../maidroid/textures/maidroid_maidroid_mk${i}_egg.png"
color=${arr[i]}
convert +level-colors $color,White img/maidroid_egg_pattern.png img/maidroid_egg_pattern_tmp.png
composite img/maidroid_egg_pattern_tmp.png img/maidroid_empty_egg.png $output
rm img/maidroid_egg_pattern_tmp.png
done