HDGretchenCounter/source_data/Makefile
2023-08-27 18:51:44 -07:00

88 lines
2.1 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 \
../sprites/kgcpa0.png \
../sprites/kgcpb0.png \
../sprites/bright_kgcpa0.png \
../sprites/bright_kgcpb0.png
# 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 $@
# Pickup sprite
../sprites/kgcpa0.png : gretchencounter_pickupsprite.aseprite
aseprite $^ \
-b \
--ignore-layer "brightmap" \
--frame-range 0,0 --save-as $@
../sprites/kgcpb0.png : gretchencounter_pickupsprite.aseprite
aseprite $^ \
-b \
--ignore-layer "brightmap" \
--frame-range 1,1 --save-as $@
../sprites/bright_kgcpa0.png : gretchencounter_pickupsprite.aseprite
aseprite $^ \
-b \
--layer "brightmap" \
--frame-range 0,0 --save-as $@
../sprites/bright_kgcpb0.png : gretchencounter_pickupsprite.aseprite
aseprite $^ \
-b \
--layer "brightmap" \
--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" $@