done
frogge :3
This commit is contained in:
parent
73ea03f680
commit
500cb5ff5b
|
@ -380,11 +380,14 @@ namespace HeavenStudio.Games
|
||||||
//whiff stuff below
|
//whiff stuff below
|
||||||
|
|
||||||
if (PlayerInput.GetIsAction(InputAction_BasicPress) && !IsExpectingInputNow(InputAction_BasicPress))
|
if (PlayerInput.GetIsAction(InputAction_BasicPress) && !IsExpectingInputNow(InputAction_BasicPress))
|
||||||
|
{
|
||||||
|
if (PlayerInput.CurrentControlStyle != InputController.ControlStyles.Touch || !IsExpectingInputNow(InputAction_AltPress))
|
||||||
{
|
{
|
||||||
PlayerFrog.Hop();
|
PlayerFrog.Hop();
|
||||||
SoundByte.PlayOneShot("miss");
|
SoundByte.PlayOneShot("miss");
|
||||||
LightMiss(true);
|
LightMiss(true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (PlayerInput.GetIsAction(InputAction_AltPress) && !IsExpectingInputNow(InputAction_AltPress) && PlayerInput.CurrentControlStyle != InputController.ControlStyles.Touch)
|
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;
|
else animSide *= -1;
|
||||||
if (MissFace != null) MissFace.localScale = new Vector3(animSide, 1, 1);
|
if (MissFace != null) MissFace.localScale = new Vector3(animSide, 1, 1);
|
||||||
Head.flipX = animSide > 0;
|
Head.flipX = animSide > 0;
|
||||||
|
|
||||||
Debug.Log(animSide);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Darken(bool reverse = false)
|
public void Darken(bool reverse = false)
|
||||||
|
|
Loading…
Reference in a new issue