Compare commits

...

3 Commits

Author SHA1 Message Date
cfb02aabdb Is this a release candidate? 🦋 2023-09-03 17:18:00 -07:00
1e61e21a83 source_data cleanup. 2023-09-03 17:11:03 -07:00
bd9c3dd555 Caco plushie sprite scale stuff. 2023-09-03 17:03:12 -07:00
65 changed files with 45 additions and 44 deletions

View File

@ -4,16 +4,14 @@
- ~~Jumper cables~~ - ~~Jumper cables~~
- ~~Jumper cables ammohandler stuff~~ - ~~Jumper cables ammohandler stuff~~
- ~~Fix wiring kit brightmaps~~ - ~~Fix wiring kit brightmaps~~
- ~~Headers and comment formatting pass~~
- Caco plush - ~~Caco plush~~
- ~~Caco plush spawnflags~~ - ~~Caco plush spawnflags~~
- ~~Add caco plush to menu~~ - ~~Add caco plush to menu~~
- ~~Caco plush documentation~~ - ~~Caco plush documentation~~
- ~~Brightmaps for caco plush~~ - ~~Brightmaps for caco plush~~
- ~~Set actual chance for caco plush spawn~~ - ~~Set actual chance for caco plush spawn~~
- Caco plush sprite scaling - ~~Caco plush sprite scaling~~
- Headers and comment formatting pass
- Organize source_data - Organize source_data

View File

@ -1,5 +1,5 @@
kiri/gretchencounter_click "sounds/kirigretchencounter_click.ogg" kiri/gretchencounter_click "sounds/gretchencounter_click.ogg"
kiri/gretchencounter_blip "sounds/kirigretchencounter_blip.ogg" kiri/gretchencounter_blip "sounds/gretchencounter_blip.ogg"
kiri/gretchencounter_onoff "sounds/kirigretchencounter_onoff.ogg" kiri/gretchencounter_onoff "sounds/gretchencounter_onoff.ogg"
kiri/cacoplushie_throw "sounds/kiri_caco_throw.ogg" kiri/cacoplushie_throw "sounds/cacoplushie_throw.ogg"
kiri/cacoplushie_despawn "sounds/kiri_caco_despawn.ogg" kiri/cacoplushie_despawn "sounds/cacoplushie_despawn.ogg"

View File

@ -9,16 +9,16 @@ all : \
../sprites/gretchencounter/kgcnb0.png \ ../sprites/gretchencounter/kgcnb0.png \
../sprites/gretchencounter/bright_kgcma0.png \ ../sprites/gretchencounter/bright_kgcma0.png \
../sprites/gretchencounter/bright_kgcmb0.png \ ../sprites/gretchencounter/bright_kgcmb0.png \
../sounds/kirigretchencounter_click.ogg \ ../sounds/gretchencounter_click.ogg \
../sounds/kirigretchencounter_blip.ogg \ ../sounds/gretchencounter_blip.ogg \
../sounds/kirigretchencounter_onoff.ogg \ ../sounds/gretchencounter_onoff.ogg \
../sprites/gretchencounter/kgcpa0.png \ ../sprites/gretchencounter/kgcpa0.png \
../sprites/gretchencounter/kgcpb0.png \ ../sprites/gretchencounter/kgcpb0.png \
../sprites/gretchencounter/bright_kgcpa0.png \ ../sprites/gretchencounter/bright_kgcpa0.png \
../sprites/gretchencounter/bright_kgcpb0.png \ ../sprites/gretchencounter/bright_kgcpb0.png \
../sprites/gretchencounter/bright_kgcmc0.png \ ../sprites/gretchencounter/bright_kgcmc0.png \
../sounds/kiri_caco_despawn.ogg \ ../sounds/cacoplushie_throw.ogg \
../sounds/kiri_caco_throw.ogg \ ../sounds/cacoplushie_despawn.ogg \
../sprites/cacoplush/cacoplushie_idle.png \ ../sprites/cacoplush/cacoplushie_idle.png \
../sprites/cacoplush/cacoplushie_glowing1.png \ ../sprites/cacoplush/cacoplushie_glowing1.png \
../sprites/cacoplush/cacoplushie_glowing2.png \ ../sprites/cacoplush/cacoplushie_glowing2.png \
@ -107,13 +107,13 @@ all : \
--frame-range 1,1 --save-as $@ --frame-range 1,1 --save-as $@
# Sounds # Sounds
../sounds/kirigretchencounter_click.ogg : kirigretchencounter_click.wav ../sounds/gretchencounter_click.ogg : gretchencounter_click.wav
ffmpeg -i $^ "-filter:a" "volume=1.0" $@ ffmpeg -i $^ "-filter:a" "volume=1.0" $@
../sounds/kirigretchencounter_blip.ogg : kirigretchencounter_blip.wav ../sounds/gretchencounter_blip.ogg : gretchencounter_blip.wav
ffmpeg -i $^ "-filter:a" "volume=1.0" $@ ffmpeg -i $^ "-filter:a" "volume=1.0" $@
../sounds/kirigretchencounter_onoff.ogg : on_off_switch.wav ../sounds/gretchencounter_onoff.ogg : gretchencounter_on_off_switch.wav
ffmpeg -i $^ "-filter:a" "volume=1.0" $@ ffmpeg -i $^ "-filter:a" "volume=1.0" $@
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
@ -146,15 +146,15 @@ all : \
letter_sprites_r \ letter_sprites_r \
brightmaps brightmaps
../sprites/jumpercables/jmpka0.png : kit.aseprite ../sprites/jumpercables/jmpka0.png : jumpercables_pickupsprite.aseprite
aseprite -b $^ --save-as $@ aseprite -b $^ --save-as $@
../sprites/jumpercables/jmpra0.png : jmpra0.aseprite ../sprites/jumpercables/jmpra0.png : jumpercables_deployedsprite.aseprite
aseprite -b $^ --save-as $@ aseprite -b $^ --save-as $@
# Base sprite with no numerical indicator, but anim frames (0,1,2) for # Base sprite with no numerical indicator, but anim frames (0,1,2) for
# status light. # status light.
../sprites/jumpercables/jmppa0.png ../sprites/jumpercables/jmppb0.png ../sprites/jumpercables/jmppc0.png : povsprite.aseprite ../sprites/jumpercables/jmppa0.png ../sprites/jumpercables/jmppb0.png ../sprites/jumpercables/jmppc0.png : jumpercables_weaponsprite.aseprite
aseprite -b $^ \ aseprite -b $^ \
--ignore-layer "brightmap_display" \ --ignore-layer "brightmap_display" \
--ignore-layer "brightmap_leds" \ --ignore-layer "brightmap_leds" \
@ -169,7 +169,7 @@ all : \
../graphics/jumpercables/jmpr_reticle1.png \ ../graphics/jumpercables/jmpr_reticle1.png \
../graphics/jumpercables/jmpr_reticle2.png \ ../graphics/jumpercables/jmpr_reticle2.png \
../graphics/jumpercables/jmpr_reticle3.png : jmpr_reticle.aseprite ../graphics/jumpercables/jmpr_reticle3.png : jumpercables_reticle.aseprite
aseprite -b $^ \ aseprite -b $^ \
--frame-range 0,2 --save-as $@ --frame-range 0,2 --save-as $@
@ -186,7 +186,7 @@ all : \
../sprites/jumpercables/jmpjd0.png \ ../sprites/jumpercables/jmpjd0.png \
../sprites/jumpercables/jmpje0.png \ ../sprites/jumpercables/jmpje0.png \
../sprites/jumpercables/jmpjf0.png \ ../sprites/jumpercables/jmpjf0.png \
../sprites/jumpercables/jmpjg0.png : povsprite.aseprite ../sprites/jumpercables/jmpjg0.png : jumpercables_weaponsprite.aseprite
aseprite -b $^ \ aseprite -b $^ \
--layer "numberindicatorl" \ --layer "numberindicatorl" \
@ -215,7 +215,7 @@ all : \
letter_sprites_% : letter_sprites_% :
aseprite -b povsprite.aseprite \ aseprite -b jumpercables_weaponsprite.aseprite \
--layer "numberindicator$*" \ --layer "numberindicator$*" \
--frame-range 0,6 --save-as tmp.png --frame-range 0,6 --save-as tmp.png
@ -346,7 +346,7 @@ letter_sprites_% :
mv indic_$*_e.png ../sprites/jumpercables/jmi$*o0.png mv indic_$*_e.png ../sprites/jumpercables/jmi$*o0.png
mv indic_$*_f.png ../sprites/jumpercables/jmi$*p0.png mv indic_$*_f.png ../sprites/jumpercables/jmi$*p0.png
brightmaps : povsprite.aseprite brightmaps : jumpercables_weaponsprite.aseprite
aseprite -b $^ \ aseprite -b $^ \
--layer "brightmap_display" \ --layer "brightmap_display" \
@ -369,31 +369,28 @@ brightmaps : povsprite.aseprite
# Caco plush # Caco plush
# Sounds # Sounds
../sounds/kiri_caco_despawn.ogg : kiri_caco_despawn.wav ../sounds/cacoplushie_despawn.ogg : cacoplushie_despawn.wav
ffmpeg -i $^ "-filter:a" "volume=1.0" $@ ffmpeg -i $^ "-filter:a" "volume=1.0" $@
../sounds/kiri_caco_throw.ogg : kiri_caco_throw.wav ../sounds/cacoplushie_throw.ogg : cacoplushie_throw.wav
ffmpeg -i $^ "-filter:a" "volume=1.0" $@ ffmpeg -i $^ "-filter:a" "volume=1.0" $@
# Sprites # Sprites
../sprites/cacoplush/cacoplushie_idle.png : cacoplushie.aseprite ../sprites/cacoplush/cacoplushie_idle.png : cacoplushie.aseprite
aseprite -b $^ \ aseprite -b $^ \
--ignore-layer "brightmap" \ --ignore-layer "brightmap" \
--scale 0.77 \
--frame-range 0,0 --save-as $@ --frame-range 0,0 --save-as $@
../sprites/cacoplush/cacoplushie_pickup.png : cacoplushie.aseprite ../sprites/cacoplush/cacoplushie_pickup.png : cacoplushie.aseprite
aseprite -b $^ \ aseprite -b $^ \
--ignore-layer "brightmap" \ --ignore-layer "brightmap" \
--frame-range 0,0 \ --frame-range 0,0 \
--scale 0.25 \
--save-as $@ --save-as $@
../sprites/cacoplush/cacoplushie_glowing1.png \ ../sprites/cacoplush/cacoplushie_glowing1.png \
../sprites/cacoplush/cacoplushie_glowing2.png \ ../sprites/cacoplush/cacoplushie_glowing2.png \
../sprites/cacoplush/cacoplushie_glowing3.png : cacoplushie.aseprite ../sprites/cacoplush/cacoplushie_glowing3.png : cacoplushie.aseprite
aseprite -b $^ \ aseprite -b $^ \
--scale 0.77 \
--ignore-layer "brightmap" \ --ignore-layer "brightmap" \
--frame-range 1,3 --save-as ../sprites/cacoplush/cacoplushie_glowing.png --frame-range 1,3 --save-as ../sprites/cacoplush/cacoplushie_glowing.png
@ -402,21 +399,18 @@ brightmaps : povsprite.aseprite
../sprites/cacoplush/bright_cacoplushie_idle.png : cacoplushie.aseprite ../sprites/cacoplush/bright_cacoplushie_idle.png : cacoplushie.aseprite
aseprite -b $^ \ aseprite -b $^ \
--layer "brightmap" \ --layer "brightmap" \
--scale 0.77 \
--frame-range 0,0 --save-as $@ --frame-range 0,0 --save-as $@
../sprites/cacoplush/bright_cacoplushie_pickup.png : cacoplushie.aseprite ../sprites/cacoplush/bright_cacoplushie_pickup.png : cacoplushie.aseprite
aseprite -b $^ \ aseprite -b $^ \
--layer "brightmap" \ --layer "brightmap" \
--frame-range 0,0 \ --frame-range 0,0 \
--scale 0.25 \
--save-as $@ --save-as $@
../sprites/cacoplush/bright_cacoplushie_glowing1.png \ ../sprites/cacoplush/bright_cacoplushie_glowing1.png \
../sprites/cacoplush/bright_cacoplushie_glowing2.png \ ../sprites/cacoplush/bright_cacoplushie_glowing2.png \
../sprites/cacoplush/bright_cacoplushie_glowing3.png : cacoplushie.aseprite ../sprites/cacoplush/bright_cacoplushie_glowing3.png : cacoplushie.aseprite
aseprite -b $^ \ aseprite -b $^ \
--scale 0.77 \
--layer "brightmap" \ --layer "brightmap" \
--frame-range 1,3 --save-as ../sprites/cacoplush/bright_cacoplushie_glowing.png --frame-range 1,3 --save-as ../sprites/cacoplush/bright_cacoplushie_glowing.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 373 B

After

Width:  |  Height:  |  Size: 373 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 342 B

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 365 B

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 367 B

After

Width:  |  Height:  |  Size: 367 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 357 B

After

Width:  |  Height:  |  Size: 357 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 362 B

After

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 369 B

After

Width:  |  Height:  |  Size: 369 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 350 B

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 374 B

After

Width:  |  Height:  |  Size: 374 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 371 B

After

Width:  |  Height:  |  Size: 371 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 367 B

After

Width:  |  Height:  |  Size: 367 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 364 B

After

Width:  |  Height:  |  Size: 364 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 364 B

After

Width:  |  Height:  |  Size: 364 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 363 B

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 366 B

After

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 B

After

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 369 B

After

Width:  |  Height:  |  Size: 369 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 343 B

After

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 363 B

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 365 B

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 357 B

After

Width:  |  Height:  |  Size: 357 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 361 B

After

Width:  |  Height:  |  Size: 361 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 367 B

After

Width:  |  Height:  |  Size: 367 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 350 B

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 370 B

After

Width:  |  Height:  |  Size: 370 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 369 B

After

Width:  |  Height:  |  Size: 369 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 366 B

After

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 B

After

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 B

After

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 B

After

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 363 B

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 359 B

After

Width:  |  Height:  |  Size: 359 B

View File

@ -64,35 +64,45 @@ sprite JMPPC0, 320, 200 {
// Caco plushie // Caco plushie
// First-person view while holding. // First-person view while holding.
Sprite "KCPLB0", 100, 83 Sprite "KCPLB0", 130, 108
{ {
Offset -120, -100 XScale 1.3
YScale 1.3
Offset -150, -100
Patch "sprites/cacoplush/cacoplushie_idle.png", 0, 0 Patch "sprites/cacoplush/cacoplushie_idle.png", 0, 0
} }
// Pickup sprite on the ground. // Pickup sprite on the ground.
Sprite "KCPLD0", 32, 27 Sprite "KCPLD0", 130, 108
{ {
Offset 16, 13 XScale 4
YScale 4
Offset 64, 52
Patch "sprites/cacoplush/cacoplushie_pickup.png", 0, 0 Patch "sprites/cacoplush/cacoplushie_pickup.png", 0, 0
} }
// Glowing frames. // Glowing frames.
Sprite "KCPLE0", 100, 83 Sprite "KCPLE0", 130, 108
{ {
Offset -120, -100 XScale 1.3
YScale 1.3
Offset -150, -100
Patch "sprites/cacoplush/cacoplushie_glowing1.png", 0, 0 Patch "sprites/cacoplush/cacoplushie_glowing1.png", 0, 0
} }
Sprite "KCPLF0", 100, 83 Sprite "KCPLF0", 130, 108
{ {
Offset -120, -100 XScale 1.3
YScale 1.3
Offset -150, -100
Patch "sprites/cacoplush/cacoplushie_glowing2.png", 0, 0 Patch "sprites/cacoplush/cacoplushie_glowing2.png", 0, 0
} }
Sprite "KCPLG0", 100, 83 Sprite "KCPLG0", 130, 108
{ {
Offset -120, -100 XScale 1.3
YScale 1.3
Offset -150, -100
Patch "sprites/cacoplush/cacoplushie_glowing3.png", 0, 0 Patch "sprites/cacoplush/cacoplushie_glowing3.png", 0, 0
} }

View File

@ -10,7 +10,6 @@
// Try not to think about it. // Try not to think about it.
// //
#include "zscript/snektech.zs" #include "zscript/snektech.zs"
const HDLD_KIRI_GRETCHENCOUNTER = "kgc"; const HDLD_KIRI_GRETCHENCOUNTER = "kgc";