Merge pull request #131 from tacigar/tacigar/directory

Update directory structure
This commit is contained in:
tacigar 2016-12-28 12:56:08 +09:00 committed by GitHub
commit fa6e294977
54 changed files with 27 additions and 41 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 667 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 667 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 651 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 670 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 667 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 651 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 670 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 651 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 670 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 667 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 651 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 670 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 667 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 651 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 670 B

View File

@ -1,30 +0,0 @@
#/bin/bash
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'
for ((i=1; i<16; i++)); do
type=$(($i % 3 + 1))
maidroid_type="maidroid_type${type}.png"
output="../maidroid_maidroid_mk${i}.png"
color=${arr[i]}
convert +level-colors $color,White maidroid_hair.png maidroid_hair_tmp.png
composite maidroid_hair_tmp.png $maidroid_type $output
rm maidroid_hair_tmp.png
done

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1008 B

Binary file not shown.

View File

@ -1,5 +1,3 @@
#/bin/bash
declare -a arr=()
arr[1]='gray92'
arr[2]='gray68'
@ -16,12 +14,3 @@ arr[12]='red'
arr[13]='pink'
arr[14]='magenta'
arr[15]='violet'
for ((i=1; i<16; i++)); do
output="../maidroid_maidroid_mk${i}_egg.png"
color=${arr[i]}
convert +level-colors $color,White egg_pattern.png egg_pattern_tmp.png
composite egg_pattern_tmp.png egg.png $output
rm egg_pattern_tmp.png
done

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

View File

Before

Width:  |  Height:  |  Size: 334 B

After

Width:  |  Height:  |  Size: 334 B

View File

Before

Width:  |  Height:  |  Size: 337 B

After

Width:  |  Height:  |  Size: 337 B

View File

Before

Width:  |  Height:  |  Size: 668 B

After

Width:  |  Height:  |  Size: 668 B

View File

Before

Width:  |  Height:  |  Size: 1015 B

After

Width:  |  Height:  |  Size: 1015 B

View File

Before

Width:  |  Height:  |  Size: 1008 B

After

Width:  |  Height:  |  Size: 1008 B

View File

Before

Width:  |  Height:  |  Size: 963 B

After

Width:  |  Height:  |  Size: 963 B