mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 12:17:37 +02:00
Multisound + Combo miss animation
This commit is contained in:
@ -65,6 +65,10 @@ namespace RhythmHeavenMania.Games.KarateMan
|
||||
comboPotIndex++;
|
||||
Jukebox.PlayOneShotGame("karateman/comboHit1");
|
||||
}
|
||||
else
|
||||
{
|
||||
Jukebox.PlayOneShotGame("karateman/swingNoHit");
|
||||
}
|
||||
comboIndex++;
|
||||
anim.Play("PunchLeft", 0, 0);
|
||||
}
|
||||
@ -77,6 +81,10 @@ namespace RhythmHeavenMania.Games.KarateMan
|
||||
comboPotIndex++;
|
||||
Jukebox.PlayOneShotGame("karateman/comboHit1");
|
||||
}
|
||||
else
|
||||
{
|
||||
Jukebox.PlayOneShotGame("karateman/swingNoHit_Alt");
|
||||
}
|
||||
comboIndex++;
|
||||
anim.Play("PunchRight", 0, 0);
|
||||
}
|
||||
@ -101,6 +109,10 @@ namespace RhythmHeavenMania.Games.KarateMan
|
||||
comboPotIndex++;
|
||||
Jukebox.PlayOneShotGame("karateman/comboHit3");
|
||||
}
|
||||
else
|
||||
{
|
||||
Jukebox.PlayOneShotGame("karateman/comboMiss");
|
||||
}
|
||||
comboIndex++;
|
||||
anim.Play("ComboKick", 0, 0);
|
||||
}
|
||||
@ -128,7 +140,7 @@ namespace RhythmHeavenMania.Games.KarateMan
|
||||
else
|
||||
{
|
||||
// fail anim
|
||||
anim.Play("Idle");
|
||||
anim.Play("ComboMiss");
|
||||
ResetCombo();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user