done
frogge :3
This commit is contained in:
parent
73ea03f680
commit
500cb5ff5b
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue