frogge :3
This commit is contained in:
ThePurpleAnon 2024-04-30 21:05:20 -05:00
parent 73ea03f680
commit 500cb5ff5b
2 changed files with 6 additions and 5 deletions

View file

@ -380,11 +380,14 @@ namespace HeavenStudio.Games
//whiff stuff below
if (PlayerInput.GetIsAction(InputAction_BasicPress) && !IsExpectingInputNow(InputAction_BasicPress))
{
if (PlayerInput.CurrentControlStyle != InputController.ControlStyles.Touch || !IsExpectingInputNow(InputAction_AltPress))
{
PlayerFrog.Hop();
SoundByte.PlayOneShot("miss");
LightMiss(true);
}
}
if (PlayerInput.GetIsAction(InputAction_AltPress) && !IsExpectingInputNow(InputAction_AltPress) && PlayerInput.CurrentControlStyle != InputController.ControlStyles.Touch)
{

View file

@ -120,8 +120,6 @@ namespace HeavenStudio.Games.Scripts_FrogHop
else animSide *= -1;
if (MissFace != null) MissFace.localScale = new Vector3(animSide, 1, 1);
Head.flipX = animSide > 0;
Debug.Log(animSide);
}
public void Darken(bool reverse = false)