Kitties multiple bug fixes, lingering animations, etc. (#303)

* Kitties! (Initialization)

* Kitties Sprites Set-up

* Kitties (Placeholder Icon)

* Kitties (SFX added and some work on input)

* Kitties Animation Stuff

* Kitties Idle and Pop In

* Kitties Clap Animations and Inverse Spawn

* More Claps

* Face Claps

* Face Idle (Partially Done) and Mice

* Finished Claps

* Spins Partially Done

* Started On Fish

* Finished Rolls

* Fixed issue where animation flip would override code flip

* Fish Catch Animation Started

* Kitties Inputs Done and Custom Background sorta done

* Changed from "Initialization Only" to "WIP"

* fish bug fix

* Multiple Bug Fixes and Linger Animations
This commit is contained in:
Bhaos
2023-02-21 10:26:20 -06:00
committed by GitHub
parent cdbd1c9b7d
commit 459940b10e
19 changed files with 2876 additions and 163 deletions

View File

@ -263,12 +263,9 @@ namespace HeavenStudio.Games
public void CatchFish(float beat)
{
if (!player.canClap)
return;
if (isInverted)
Fish.transform.localScale = new Vector3(-1f, 1f, 1f);
else
Fish.transform.localScale = new Vector3(1f, 1f, 1f);
//if (!player.canClap)
// return;
player.ScheduleFish(beat);
MultiSound.Play(new MultiSound.Sound[] {
new MultiSound.Sound("kitties/fish1", beat + 2f),
@ -279,6 +276,10 @@ namespace HeavenStudio.Games
BeatAction.New(Cats[0], new List<BeatAction.Action>()
{
new BeatAction.Action(beat, delegate { if (isInverted)
Fish.transform.localScale = new Vector3(-1f, 1f, 1f);
else
Fish.transform.localScale = new Vector3(1f, 1f, 1f); }),
new BeatAction.Action(beat, delegate { Fish.SetActive(true); }),
new BeatAction.Action(beat, delegate { Fish.GetComponent<Animator>().DoScaledAnimationAsync("FishDangle", 0.5f); }),
new BeatAction.Action(beat + 2f, delegate { kitties[0].Play("FishNotice", 0, 0); }),