mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 20:47:39 +02:00
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:
@ -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); }),
|
||||
|
Reference in New Issue
Block a user