Game switch improvements + Karate man animation fixes (READ DESC)

If you don't release on a combo, it will smoothly transition back to the idle animation. Fixing basically a soft-lock.
This commit is contained in:
Braedon
2022-01-29 20:26:53 -05:00
parent eee8a3952f
commit df5a64622e
11 changed files with 1683 additions and 23 deletions

View File

@ -143,6 +143,13 @@ namespace RhythmHeavenMania.Games.KarateMan
AnimPlay("ComboMiss");
ResetCombo();
}
if (comboNormalizedBeat >= 3.5f && comboIndex < 69)
{
ResetCombo();
AnimPlay("ComboCrouchPunchToIdle");
comboIndex = 69;
}
}
}
else
@ -218,6 +225,7 @@ namespace RhythmHeavenMania.Games.KarateMan
private void ResetCombo()
{
SetHead(0);
hitCombo = false;
inCombo = false;
comboPotIndex = 0;
@ -245,6 +253,7 @@ namespace RhythmHeavenMania.Games.KarateMan
public void Swing(Pot p)
{
SetHead(0);
bool punchLeft = true;
if (p == null)