1
0
mirror of https://github.com/tacigar/maidroid.git synced 2025-07-08 18:50:21 +02:00

Update directory structure

This commit is contained in:
tacigar
2016-12-28 12:54:04 +09:00
parent ece313bd7a
commit a2ee95fa72
54 changed files with 27 additions and 41 deletions

16
scripts/colors.sh Normal file
View File

@ -0,0 +1,16 @@
declare -a arr=()
arr[1]='gray92'
arr[2]='gray68'
arr[3]='gray36'
arr[4]='gray17'
arr[5]='blue'
arr[6]='cyan'
arr[7]='green'
arr[8]='DarkGreen'
arr[9]='yellow'
arr[10]='orange'
arr[11]='brown'
arr[12]='red'
arr[13]='pink'
arr[14]='magenta'
arr[15]='violet'

12
scripts/genEggTextures.sh Normal file
View File

@ -0,0 +1,12 @@
#/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

View File

@ -0,0 +1,15 @@
#/bin/bash
. ./colors.sh
for ((i=1; i<16; i++)); do
type=$(($i % 3 + 1))
maidroid_type="img/maidroid_type${type}.png"
output="../maidroid/models/maidroid_maidroid_mk${i}.png"
color=${arr[i]}
convert +level-colors $color,White img/maidroid_hair.png img/maidroid_hair_tmp.png
composite img/maidroid_hair_tmp.png $maidroid_type $output
rm img/maidroid_hair_tmp.png
done

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1015 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1008 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 963 B