aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-12-07 12:41:56 +0000
committerrodri <rgl@antares-labs.eu>2024-12-07 12:41:56 +0000
commitca481020694e576b3f5cce3e4d4e2cb1a71b360d (patch)
tree98af0c1319fbf9953c90ecf8f7dd8b57c8894ca2
parent28cacde37de17e1f471b215e55d644b53881a24b (diff)
downloadbattleship-ca481020694e576b3f5cce3e4d4e2cb1a71b360d.tar.gz
battleship-ca481020694e576b3f5cce3e4d4e2cb1a71b360d.tar.bz2
battleship-ca481020694e576b3f5cce3e4d4e2cb1a71b360d.zip
bts: improve the vfx timings.HEADfront
-rw-r--r--bts.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bts.c b/bts.c
index 7a1d17a..23079c3 100644
--- a/bts.c
+++ b/bts.c
@@ -647,11 +647,11 @@ initvfx(void)
coverimg = readpngimage(aux);
snprint(aux, sizeof aux, "%s/%s", assetdir, "vfx/hit.png");
- spritetab[VFXHit] = readpngsprite(aux, ZP, Rect(0, 0, 32, 32), 12, 100);
+ spritetab[VFXHit] = readpngsprite(aux, ZP, Rect(0, 0, 32, 32), 12, 60);
snprint(aux, sizeof aux, "%s/%s", assetdir, "vfx/miss.png");
- spritetab[VFXMiss] = readpngsprite(aux, ZP, Rect(0, 0, 32, 32), 7, 150);
+ spritetab[VFXMiss] = readpngsprite(aux, ZP, Rect(0, 0, 32, 32), 7, 100);
snprint(aux, sizeof aux, "%s/%s", assetdir, "vfx/shining.png");
- spritetab[VFXShine] = readpngsprite(aux, ZP, Rect(0, 0, 50, 50), 11, 100);
+ spritetab[VFXShine] = readpngsprite(aux, ZP, Rect(0, 0, 50, 50), 11, 50);
initvfxq(&vfxqueue);
}