Noah Petherbridge
38614ee280
* Tightens up the surface area of API methods available to the JavaScript VMs for doodads. Variables and functions are carefully passed in one-by-one so the doodad script can only access intended functions and not snoop on undocumented APIs. * Wrote tons of user documentation for Doodad Scripts: documented the full surface area of the exposed JavaScript API now that the surface area is known and limited. * Early WIP code for the Campaign JSON |
||
---|---|---|
.. | ||
blue-closed.png | ||
blue-key.png | ||
blue-left.png | ||
blue-right.png | ||
blue1.png | ||
blue2.png | ||
build.sh | ||
colored-door.js | ||
electric-door.js | ||
electric.gif | ||
electric1.png | ||
electric2.png | ||
electric3.png | ||
electric4.png | ||
green-closed.png | ||
green-key.png | ||
green-left.png | ||
green-right.png | ||
green1.png | ||
green2.png | ||
keys.js | ||
locked-door.js | ||
README.md | ||
red-closed.png | ||
red-key.png | ||
red-left.png | ||
red-right.png | ||
red1.png | ||
red2.png | ||
yellow-closed.png | ||
yellow-key.png | ||
yellow-left.png | ||
yellow-right.png | ||
yellow1.png | ||
yellow2.png |
Button Doodads
doodad convert -t "Red Door" red1.png red2.png red-door.doodad
doodad convert -t "Blue Door" blue1.png blue2.png blue-door.doodad
doodad convert -t "Green Door" green1.png green2.png green-door.doodad
doodad convert -t "Yellow Door" yellow1.png yellow2.png yellow-door.doodad
doodad convert -t "Red Key" red-key.png red-key.doodad
doodad convert -t "Blue Key" blue-key.png blue-key.doodad
doodad convert -t "Green Key" green-key.png green-key.doodad
doodad convert -t "Yellow Key" yellow-key.png yellow-key.doodad
doodad convert -t "Electric Door" electric{1,2,3,4}.png electric-door.doodad