Noah Petherbridge
810ba193d9
* New doodad: Electric Trapdoor. It is a horizontal version of the Electric Door. Opens while powered by a button or a switch and closes when it loses power. * The Box doodad will reset to its original location if it receives a power signal from a linked Button or Switch. So for box pushing puzzles you can add a reset button in case the boxes get stuck. * Refactored the Doodad build scripts into many Makefiles for easier iteration (don't need to compile ALL doodads to test one). Updates to the JavaScript API for doodads: * Self.MoveTo(Point) is now available to set the actor's position in world coordinates.
18 lines
628 B
Makefile
18 lines
628 B
Makefile
ALL: build
|
|
|
|
.PHONY: build
|
|
build:
|
|
doodad convert -t "State Button" blue-button.png orange-button.png state-button.doodad
|
|
doodad install-script state-button.js state-button.doodad
|
|
|
|
doodad convert -t "State Block (Blue)" blue-on.png blue-off.png state-block-blue.doodad
|
|
doodad install-script state-block-blue.js state-block-blue.doodad
|
|
|
|
doodad convert -t "State Block (Orange)" orange-off.png orange-on.png state-block-orange.doodad
|
|
doodad install-script state-block-orange.js state-block-orange.doodad
|
|
|
|
for i in *.doodad; do\
|
|
doodad edit-doodad --tag "category=gizmos" $${i};\
|
|
done
|
|
|
|
cp *.doodad ../../../assets/doodads/
|