Added pickup sprite.

This commit is contained in:
Kiri 2023-08-27 18:51:44 -07:00
parent a169cba542
commit 34e5463733
10 changed files with 55 additions and 2 deletions

View File

@ -4,3 +4,4 @@ x On/Off switch
- Pickup sprites
- Battery usage
x Brightmaps
- In-inventory sprite

View File

@ -22,3 +22,14 @@ brightmap sprite kgcnb0
disablefullbright
}
brightmap sprite kgcpa0
{
map "sprites/bright_kgcpa0.png"
disablefullbright
}
brightmap sprite kgcpb0
{
map "sprites/bright_kgcpb0.png"
disablefullbright
}

View File

@ -6,7 +6,11 @@ all : \
../sprites/bright_kgcma0.png \
../sprites/bright_kgcmb0.png \
../sounds/kirigretchencounter_click.ogg \
../sounds/kirigretchencounter_blip.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
@ -47,6 +51,34 @@ all : \
--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" $@

Binary file not shown.

BIN
sprites/bright_kgcpa0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
sprites/bright_kgcpb0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
sprites/kgcpa0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
sprites/kgcpb0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

9
textures.txt Normal file
View File

@ -0,0 +1,9 @@
sprite KGCPA0, 32, 32 {
offset 16, 32
patch KGCPA0,0,0 { }
}
sprite KGCPB0, 32, 32 {
offset 16, 32
patch KGCPB0,0,0 { }
}

View File

@ -48,7 +48,7 @@ class GretchenCounter : HDWeapon
states
{
spawn:
SARG F -1;
KGCP # -1 { frame = invoker.onSwitch; }
stop;
// Needle overlay states.