Added pickup sprite.
This commit is contained in:
parent
a169cba542
commit
34e5463733
1
TODO.md
1
TODO.md
@ -4,3 +4,4 @@ x On/Off switch
|
||||
- Pickup sprites
|
||||
- Battery usage
|
||||
x Brightmaps
|
||||
- In-inventory sprite
|
||||
|
11
gldefs.txt
11
gldefs.txt
@ -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
|
||||
}
|
||||
|
@ -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" $@
|
||||
|
BIN
source_data/gretchencounter_pickupsprite.aseprite
Normal file
BIN
source_data/gretchencounter_pickupsprite.aseprite
Normal file
Binary file not shown.
BIN
sprites/bright_kgcpa0.png
Normal file
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
BIN
sprites/bright_kgcpb0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
sprites/kgcpa0.png
Normal file
BIN
sprites/kgcpa0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
sprites/kgcpb0.png
Normal file
BIN
sprites/kgcpb0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
9
textures.txt
Normal file
9
textures.txt
Normal 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 { }
|
||||
}
|
@ -48,7 +48,7 @@ class GretchenCounter : HDWeapon
|
||||
states
|
||||
{
|
||||
spawn:
|
||||
SARG F -1;
|
||||
KGCP # -1 { frame = invoker.onSwitch; }
|
||||
stop;
|
||||
|
||||
// Needle overlay states.
|
||||
|
Loading…
Reference in New Issue
Block a user