mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 18:37:38 +02:00
Sneaky Spirits Visual Fixes (#318)
* Sneaky Spirits - Fix Easing gost go woosh * Sneaky Spirits - Tree Tweaks Stops during slowdown now and realigned second animation frame
This commit is contained in:
@ -73,6 +73,8 @@ namespace HeavenStudio.Games
|
||||
[SerializeField] List<Transform> ghostPositions = new List<Transform>();
|
||||
[SerializeField] GameObject normalRain;
|
||||
[SerializeField] GameObject slowRain;
|
||||
[SerializeField] GameObject normalTree;
|
||||
[SerializeField] GameObject slowTree;
|
||||
[Header("Variables")]
|
||||
private static List<QueuedGhost> queuedGhosts = new List<QueuedGhost>();
|
||||
private bool hasArrowLoaded;
|
||||
@ -307,6 +309,8 @@ namespace HeavenStudio.Games
|
||||
{
|
||||
slowRain.SetActive(true);
|
||||
normalRain.SetActive(false);
|
||||
slowTree.SetActive(true);
|
||||
normalTree.SetActive(false);
|
||||
Conductor.instance.SetMinigamePitch(0.25f);
|
||||
}
|
||||
|
||||
@ -319,6 +323,8 @@ namespace HeavenStudio.Games
|
||||
doorAnim.DoScaledAnimationAsync("DoorClose", 0.5f);
|
||||
slowRain.SetActive(false);
|
||||
normalRain.SetActive(true);
|
||||
slowTree.SetActive(false);
|
||||
normalTree.SetActive(true);
|
||||
})
|
||||
});
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ namespace HeavenStudio.Games.Scripts_SneakySpirits
|
||||
{
|
||||
BeatAction.New(game.gameObject, new List<BeatAction.Action>()
|
||||
{
|
||||
new BeatAction.Action(spawnBeat - 0.2f, delegate { anim.DoScaledAnimationAsync("Move", 1f); }),
|
||||
new BeatAction.Action(spawnBeat + 0.001f, delegate { anim.DoScaledAnimationAsync("Move", 1f); }),
|
||||
new BeatAction.Action(spawnBeat + length - 0.5f, delegate { anim.DoScaledAnimationAsync("MoveDown", 1f); }),
|
||||
new BeatAction.Action(spawnBeat + length, delegate { Destroy(gameObject); }),
|
||||
});
|
||||
|
Reference in New Issue
Block a user