Bugfixes
Fixed a bug where fishes could be reeled in before the bite animation played and get stuck in the bite animation. Fixed a bug where the count-in for the pausegill played at the incorrect time. Fixed a bug where the threefish would cause a scene transition at the incorrect time.
This commit is contained in:
parent
7f34b4318d
commit
8e96219a46
|
@ -198,7 +198,7 @@ namespace HeavenStudio.Games
|
||||||
{
|
{
|
||||||
MultiSound.Play(new MultiSound.Sound[]{
|
MultiSound.Play(new MultiSound.Sound[]{
|
||||||
new MultiSound.Sound("count-ins/and", beat + 2),
|
new MultiSound.Sound("count-ins/and", beat + 2),
|
||||||
new MultiSound.Sound(UnityEngine.Random.Range(0.0f, 1.0f) > 0.5 ? "count-ins/go1" : "count-ins/go2", beat + 2),
|
new MultiSound.Sound(UnityEngine.Random.Range(0.0f, 1.0f) > 0.5 ? "count-ins/go1" : "count-ins/go2", beat + 3),
|
||||||
}, forcePlay: true, game: false);
|
}, forcePlay: true, game: false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -100,7 +100,7 @@ namespace HeavenStudio.Games.Scripts_CatchOfTheDay
|
||||||
new BeatAction.Action(e.beat + 0.5f, delegate { DoPickAnim(e.beat + 0.5f); }),
|
new BeatAction.Action(e.beat + 0.5f, delegate { DoPickAnim(e.beat + 0.5f); }),
|
||||||
new BeatAction.Action(e.beat + 1f, delegate { DoPickAnim(e.beat + 1f, down: true); }),
|
new BeatAction.Action(e.beat + 1f, delegate { DoPickAnim(e.beat + 1f, down: true); }),
|
||||||
new BeatAction.Action(e.beat + 4.5f - 0.1f, delegate { DoBiteAnim(e.beat + 4.5f - 0.1f); }),
|
new BeatAction.Action(e.beat + 4.5f - 0.1f, delegate { DoBiteAnim(e.beat + 4.5f - 0.1f); }),
|
||||||
new BeatAction.Action(e.beat + + (float)e["sceneDelay"], delegate { minigame.DisposeLake(this); }),
|
new BeatAction.Action(e.beat + 4.5f + (float)e["sceneDelay"], delegate { minigame.DisposeLake(this); }),
|
||||||
});
|
});
|
||||||
BeatAction.New(this, beatActions);
|
BeatAction.New(this, beatActions);
|
||||||
break;
|
break;
|
||||||
|
@ -228,6 +228,7 @@ namespace HeavenStudio.Games.Scripts_CatchOfTheDay
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
Minigame.DoJustAnim();
|
Minigame.DoJustAnim();
|
||||||
|
FishOut = true;
|
||||||
}
|
}
|
||||||
public void Miss()
|
public void Miss()
|
||||||
{
|
{
|
||||||
|
@ -252,6 +253,7 @@ namespace HeavenStudio.Games.Scripts_CatchOfTheDay
|
||||||
}
|
}
|
||||||
Minigame.DoMissAnim();
|
Minigame.DoMissAnim();
|
||||||
SoundByte.PlayOneShotGame("catchOfTheDay/nearMiss");
|
SoundByte.PlayOneShotGame("catchOfTheDay/nearMiss");
|
||||||
|
FishOut = true;
|
||||||
}
|
}
|
||||||
public void Through(PlayerActionEvent caller)
|
public void Through(PlayerActionEvent caller)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue