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:
saladplainzone
2023-02-26 19:05:33 -08:00
committed by GitHub
parent e9064f29bb
commit 06e4db40ec
10 changed files with 598 additions and 35 deletions

View File

@ -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);
})
});
}

View File

@ -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); }),
});