ref: ca481020694e576b3f5cce3e4d4e2cb1a71b360d
parent: 28cacde37de17e1f471b215e55d644b53881a24b
author: rodri <rgl@antares-labs.eu>
date: Sat Dec 7 07:41:56 EST 2024
bts: improve the vfx timings.
--- a/bts.c
+++ b/bts.c
@@ -647,11 +647,11 @@
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);
}