56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
|
all : \
|
||
|
../sprites/kgcmb0.png \
|
||
|
../sprites/kgcma0.png \
|
||
|
../sprites/kgcna0.png \
|
||
|
../sprites/kgcnb0.png \
|
||
|
../sprites/bright_kgcma0.png \
|
||
|
../sprites/bright_kgcmb0.png \
|
||
|
../sounds/kirigretchencounter_click.ogg \
|
||
|
../sounds/kirigretchencounter_blip.ogg
|
||
|
|
||
|
# Base frames
|
||
|
../sprites/kgcma0.png : gretchencounter_weaponsprite.aseprite
|
||
|
aseprite $^ \
|
||
|
-b \
|
||
|
--ignore-layer "brightmap" \
|
||
|
--frame-range 0,0 --save-as $@
|
||
|
|
||
|
../sprites/kgcmb0.png : gretchencounter_weaponsprite.aseprite
|
||
|
aseprite $^ \
|
||
|
-b \
|
||
|
--ignore-layer "brightmap" \
|
||
|
--frame-range 1,1 --save-as $@
|
||
|
|
||
|
# Brightmaps
|
||
|
../sprites/bright_kgcma0.png : gretchencounter_weaponsprite.aseprite
|
||
|
aseprite $^ \
|
||
|
-b \
|
||
|
--layer "brightmap" \
|
||
|
--frame-range 0,0 --save-as $@
|
||
|
|
||
|
../sprites/bright_kgcmb0.png : gretchencounter_weaponsprite.aseprite
|
||
|
aseprite $^ \
|
||
|
-b \
|
||
|
--layer "brightmap" \
|
||
|
--frame-range 1,1 --save-as $@
|
||
|
|
||
|
# Needle
|
||
|
../sprites/kgcna0.png : gretchencounter_weaponsprite.aseprite
|
||
|
aseprite $^ \
|
||
|
-b \
|
||
|
--layer "needle" \
|
||
|
--frame-range 0,0 --save-as $@
|
||
|
|
||
|
../sprites/kgcnb0.png : gretchencounter_weaponsprite.aseprite
|
||
|
aseprite $^ \
|
||
|
-b \
|
||
|
--layer "needle" \
|
||
|
--frame-range 1,1 --save-as $@
|
||
|
|
||
|
# Sounds
|
||
|
../sounds/kirigretchencounter_click.ogg : kirigretchencounter_click.wav
|
||
|
ffmpeg -i $^ "-filter:a" "volume=1.0" $@
|
||
|
|
||
|
../sounds/kirigretchencounter_blip.ogg : kirigretchencounter_blip.wav
|
||
|
ffmpeg -i $^ "-filter:a" "volume=1.0" $@
|