Add Azulian doodad sprites and build script

master
Noah 2019-05-01 18:27:20 -07:00
parent 19dfbc0624
commit 16e8937f0f
12 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,4 @@
function main() {
log.Info("Azulian '%s' initialized!", Self.Doodad.Title);
Self.ShowLayer(2);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 864 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 829 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 910 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 853 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 833 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 820 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 893 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 816 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 844 B

41
dev-assets/doodads/build.sh Executable file
View File

@ -0,0 +1,41 @@
#!/bin/bash
# Build all the doodads from their source files.
if [[ ! -d "./azulian" ]]; then
echo Run this script from the dev-assets/doodads/ working directory.
exit 1
fi
mkdir -p ../../assets/doodads
buttons() {
cd buttons/
doodad convert -t "Sticky Button" sticky1.png sticky2.png sticky-button.doodad
doodad install-script sticky.js sticky-button.doodad
cp sticky-button.doodad ../../../assets/doodads/
doodad convert -t "Button" button1.png button2.png button.doodad
doodad install-script button.js button.doodad
cp button.doodad ../../../assets/doodads/
doodad convert -t "Button Type B" typeB1.png typeB2.png button-typeB.doodad
doodad install-script button.js button-typeB.doodad
cp button-typeB.doodad ../../../assets/doodads/
cd ..
}
azulians() {
cd azulian/
doodad convert -t "Blue Azulian" blu-front.png blu-back.png \
blu-wr{1,2,3,4}.png blu-wl{1,2,3,4}.png azu-blu.doodad
doodad install-script azulian.js azu-blu.doodad
cp azu-blu.doodad ../../../assets/doodads/
cd ..
}
buttons
azulians