mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 08:17:38 +02:00
Fixes and a couple new features here and there (#616)
* i love the blue bear * launch party beginning * fork lifter fixes * whiff strum guitar + snekky * rockers score miss fix * splashdown tweak * auto dispense and inactive dispense iteration 1 * fixed some auto dispense bugs * another small fix * auto dispense + miss stuff * fixed mr game and watch being slow boy * no log * monk fix * bg launch aprt * coint oss layer thing * tap troupe and double date fixes * fixing spaceball line * extended cheer reaers bg * upbeat constant * fixed uglyness * Gomenasai * fix lines 2 * tram and pauline new sprite --------- Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: minenice55 <star.elementa@gmail.com>
This commit is contained in:
@ -92,6 +92,8 @@ namespace HeavenStudio.Games.Scripts_ForkLifter
|
||||
|
||||
public void Early()
|
||||
{
|
||||
player.Stab(null);
|
||||
|
||||
GameObject pea = new GameObject();
|
||||
|
||||
pea.transform.parent = player.early.transform;
|
||||
@ -124,6 +126,8 @@ namespace HeavenStudio.Games.Scripts_ForkLifter
|
||||
|
||||
public void Late()
|
||||
{
|
||||
player.Stab(null);
|
||||
|
||||
GameObject pea = new GameObject();
|
||||
pea.transform.parent = player.late.transform;
|
||||
pea.transform.localScale = Vector2.one;
|
||||
@ -161,18 +165,23 @@ namespace HeavenStudio.Games.Scripts_ForkLifter
|
||||
|
||||
private void Just(PlayerActionEvent caller, float state)
|
||||
{
|
||||
if (state >= 1f) {
|
||||
if (state >= 1f)
|
||||
{
|
||||
Late();
|
||||
} else if (state <= -1f) {
|
||||
}
|
||||
else if (state <= -1f)
|
||||
{
|
||||
Early();
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
Hit();
|
||||
}
|
||||
}
|
||||
|
||||
private void Miss(PlayerActionEvent caller)
|
||||
{
|
||||
SoundByte.PlayOneShot("forkLifter/disappointed");
|
||||
SoundByte.PlayOneShotGame("forkLifter/disappointed");
|
||||
BeatAction.New(game, new List<BeatAction.Action>()
|
||||
{
|
||||
new BeatAction.Action(startBeat+ 2.45f, delegate {
|
||||
|
Reference in New Issue
Block a user