Noah Petherbridge
9a51ac39f9
* New doodad: Invisible Warp Door * All warp doors require the player to be grounded (if affected by gravity) to open them. No jumping or falling thru and opening a warp door mid-air! * Title Screen now randomly selects from a couple of levels. * Title Screen: if it fails to load a level it sets up a basic blank level with a wallpaper instead. * New developer shell command: titlescreen <level> Opens the MainScene with a custom user level as the background. * Add Auto-save to the Editor to save your drawing every 5 minutes * Add a MenuBar to the Play Scene for easier navigation to other features of the game. * Doodad JS API: time.Since() now available.
27 lines
975 B
Makefile
27 lines
975 B
Makefile
ALL: build
|
|
|
|
.PHONY: build
|
|
build:
|
|
doodad convert -t "Warp Door" door-1.png door-2.png door-3.png door-4.png warp-door.doodad
|
|
doodad edit-doodad -q --tag color=none warp-door.doodad
|
|
doodad install-script warp-door.js warp-door.doodad
|
|
|
|
doodad convert -t "Warp Door (Blue)" blue-1.png blue-2.png blue-3.png blue-4.png blue-off.png \
|
|
warp-door-blue.doodad
|
|
doodad edit-doodad -q --tag color=blue warp-door-blue.doodad
|
|
doodad install-script warp-door.js warp-door-blue.doodad
|
|
|
|
doodad convert -t "Warp Door (Orange)" orange-off.png orange-1.png orange-2.png orange-3.png orange-4.png \
|
|
warp-door-orange.doodad
|
|
doodad edit-doodad -q --tag color=orange warp-door-orange.doodad
|
|
doodad install-script warp-door.js warp-door-orange.doodad
|
|
|
|
for i in *.doodad; do\
|
|
doodad edit-doodad --tag "category=doors" --hitbox=34,76 $${i};\
|
|
done
|
|
for i in warp-door-*.doodad; do\
|
|
doodad edit-doodad --tag "category=doors,gizmos" $${i};\
|
|
done
|
|
|
|
cp *.doodad ../../../assets/doodads/
|