Better input latency, but not finalized. (weird results on low bpm's)

This commit is contained in:
Starpelly
2021-12-24 18:41:35 -05:00
parent 2c4f7bbac7
commit 58ea8d5e4c
19 changed files with 991 additions and 194 deletions

View File

@ -92,13 +92,13 @@ namespace RhythmHeavenMania.Games.ClappyTrio
// i spent like 25 minutes trying to figure out what was wrong with this when i forgot to subtract the currentClapLength :(
if (i == Lion.Count - 1)
minus = 0.35f;
minus = Minigame.perfectTime;
if (songPosBeat > lastClapStart + (currentClappingLength * (i) - minus) && songPosBeat < lastClapStart + (currentClappingLength * (i + 1)) && clapIndex == i)
{
if (i == Lion.Count - 1)
{
ClappyTrioPlayer.SetClapAvailability(lastClapStart + (currentClappingLength * i - 0.35f));
ClappyTrioPlayer.SetClapAvailability(lastClapStart + (currentClappingLength * i - Minigame.perfectTime));
clapIndex = 0;
isClapping = false;