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:
16
scripts/colors.sh
Normal file
16
scripts/colors.sh
Normal 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
12
scripts/genEggTextures.sh
Normal 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
|
15
scripts/genMaidroidTextures.sh
Normal file
15
scripts/genMaidroidTextures.sh
Normal 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
|
BIN
scripts/img/maidroid_egg_pattern.png
Normal file
BIN
scripts/img/maidroid_egg_pattern.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 334 B |
BIN
scripts/img/maidroid_empty_egg.png
Normal file
BIN
scripts/img/maidroid_empty_egg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 337 B |
BIN
scripts/img/maidroid_hair.png
Normal file
BIN
scripts/img/maidroid_hair.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 668 B |
BIN
scripts/img/maidroid_type1.png
Normal file
BIN
scripts/img/maidroid_type1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1015 B |
BIN
scripts/img/maidroid_type2.png
Normal file
BIN
scripts/img/maidroid_type2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1008 B |
BIN
scripts/img/maidroid_type3.png
Normal file
BIN
scripts/img/maidroid_type3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 963 B |
Reference in New Issue
Block a user