Pace back to 1.2x, and unweld the racket from over his head
PACE 1.3x -> 1.2x on all four numbers: 19.2 / 14.4 rally, 22.8 / 26.4 serve. The strength-to-velocity relationship you suspected was already there is: a splatter serve runs 26 m/s at the minimum pull, 36 at the kill threshold and 49.2 at a full draw. The draw very nearly DOUBLES the pace (1.89x), because serveQualitySpeed carries more of the pair than serveSpeed does. Nothing to change unless you want it steeper, and that is the one knob. THE RACKET-ALWAYS-UP LOOK WAS A LATCH, not the art. hitServe sets pose 'serve' with poseT 0; that only expires after POSE_TIME (0.38 s); and p_pull, the wind-up frame, is only ever selected from pose 'idle'. So firing faster than 0.38 s reset the timer before it could expire, he never returned to idle, the pull frame was never drawn once, and he stayed welded into p_smash — arm extended overhead with balls appearing out of the strings. Exactly the late game, because that is where the fast successions are. serveToss now clears a stale 'serve' pose: a new wind-up ends the last shot's follow-through. At ~4.6 shots/sec the cycle is now pull x5 frames, smash x8, pull x5 — a real swing. Slow fire still plays the whole ritual: bounce, pull, smash, idle, bounce. Caveat: past roughly 8 shots/sec each pose gets 1-2 frames and will read as a flicker rather than a swing. There is no fix for that short of drawn follow-through frames; the poses are stills. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
19c13986c5
commit
7284ca08f8
2 files changed
+12
-5
No files matched your search
@@ -861,6 +861,12 @@ function tryGunBurst() {
|
||||
// slingshot serve, stage one: the pull-back starts the toss animation. The ball rises while
|
||||
// you aim (dotted line, render.js); the release (dragServe) fires it. Only from a fresh pretoss.
|
||||
export function serveToss() {
|
||||
// A NEW WIND-UP ENDS THE LAST SHOT'S FOLLOW-THROUGH. Without this he latched: hitServe sets
|
||||
// pose 'serve' with poseT 0, that only expires after POSE_TIME, and the pull frame is only drawn
|
||||
// from 'idle' — so firing faster than 0.38 s reset the timer before it could ever expire and he
|
||||
// was welded into p_smash. Racket permanently up, balls appearing out of it, no wind-up at all,
|
||||
// which is precisely the late-game rapid-fire look. Clearing it here restores pull/smash/pull.
|
||||
if (score.server === 'P' && P.pose === 'serve') { P.pose = 'idle'; P.poseT = 0; }
|
||||
if (score.server === 'P' && G.phase === 'pretoss' && !ball.active) tossBall(P);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user