Sage Vaillancourt
55a3a7b0ee
More type hints.
...
Also, move pointDirectlyUnderLine() to XyPair-based.
2025-02-24 23:55:03 -05:00
Sage Vaillancourt
09e48b65b4
Fix pitching
2025-02-24 19:49:32 -05:00
Sage Vaillancourt
7b49603760
Fix flickering on return-to-pitcher.
...
Some linting.
Prevent runners "sticking" to bases during walk/homeRun sequences.
Tweak logo to remove some trailing pixels.
2025-02-21 15:05:14 -05:00
Sage Vaillancourt
56c0c27d75
Add perfect-power indicator to throwMeter
...
Some other tightening-up in there.
E.g. clears the lastReadThrow when on a new fielder.
Add type annotations to assets files.
2025-02-20 13:56:57 -05:00
Sage Vaillancourt
2d6f83a23f
Add some slight linger time to draw/throwMeter
2025-02-20 00:28:14 -05:00
Sage Vaillancourt
e45231dadd
Lower MinCharge and idealPower
...
Makes it easier to throw at top speed without having to flick the crank.
Added a bit of a multiplier on the returned powerRatio, to compensate.
2025-02-20 00:16:32 -05:00
Sage Vaillancourt
08a3189780
Start supporting less accurate pitches
...
Fix secondsSinceRunnerLastMove nil bug
2025-02-20 00:06:43 -05:00
Sage Vaillancourt
56a5e197cd
Linting, and pitcherIsReady() timing tweak
2025-02-19 23:38:51 -05:00
Sage Vaillancourt
b003c148a4
Extract more into pitching.
...
More consistent (and visible!) throw meter.
It's still imperfect (by a lot!) but it feels much more controlled.
Throws are a little too soft right now, but it's in a halfway decent state.
2025-02-19 22:32:10 -05:00
Sage Vaillancourt
ad82035ccc
Pan back from home runs
...
Move secondsSinceLastRunnerMove into Baserunning
Tweak draw offset logic - a little jumpy, but better at following the long ball
Taller GrassBackground
Move secondsSinceLastPitch into pitchTracker
Extract pitchTracker and throwMeter
Slightly more truthful utils.moveAtSpeed()
2025-02-19 17:13:06 -05:00