doodle/dev-assets/doodads/build.sh
Noah Petherbridge fc736abd5f Doodads: Gems, Snake and Crusher
Adds several new doodads to the game and 5 new wallpapers (parchment
paper in blue, green, red, white and yellow).

New doodads:

* Crusher: A purple block-headed mob wearing an iron helmet. It tries
  to crush the player when you get underneath. Its flat helmet can be
  ridden on like an elevator back up.
* Snake: A green stationary mob that always faces toward the player.
  If the player is nearby and jumps, the Snake will jump too and hope
  to catch the player in mid-air.
* Gems and Totems: A new key & lock collectible. Gems have quantity so
  you can collect multiple, and place them into matching Totems. A
  Totem gives off a power signal when its gem is placed and all other
  Totems it is linked to have also been activated. A single Totem may
  link to an Electric Door and require only one gem to open it, or it
  can link to other Totems and they all require gems before the power
  signal is sent out.
2022-05-01 15:18:23 -07:00

115 lines
1.1 KiB
Bash
Executable File

#!/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
boy() {
cd boy/
make
cd ..
cd thief/
make
cd ..
}
buttons() {
cd buttons/
make
cd ..
}
switches() {
cd switches/
make
cd ..
}
doors() {
cd doors/
make
cd ..
cd gems/
make
cd ..
}
trapdoors() {
cd trapdoors/
make
cd ..
}
azulians() {
cd azulian/
make
cd ..
}
mobs() {
cd bird/
make
cd ..
}
objects() {
cd objects/
make
cd ..
cd box/
make
cd ..
cd crumbly-floor/
make
cd ..
cd regions/
make
cd ..
}
onoff() {
cd on-off/
make
cd ..
}
warpdoor() {
cd warp-door/
make
cd ..
}
creatures() {
cd snake/
make
cd ..
cd crusher/
make
cd ..
}
boy
buttons
switches
doors
trapdoors
azulians
mobs
objects
onoff
warpdoor
creatures
doodad edit-doodad -quiet -lock -author "Noah" ../../assets/doodads/*.doodad
doodad edit-doodad ../../assets/doodads/azu-blu.doodad
doodad edit-doodad -hide ../../assets/doodads/boy.doodad