Added coloured shadows to Karate Man

This is very pogchamp!
This commit is contained in:
Carson Kompon
2022-02-26 18:10:22 -05:00
parent a4985675c4
commit 69cb7a729b
3 changed files with 15 additions and 1 deletions

View File

@ -18,6 +18,7 @@ namespace RhythmHeavenMania.Games.KarateMan
[SerializeField] private SpriteRenderer head;
[SerializeField] private Sprite[] heads;
[SerializeField] private GameObject missEffect;
[SerializeField] private SpriteRenderer[] shadows;
[Header("Properties")]
public bool hitBarrel = false;
@ -168,6 +169,11 @@ namespace RhythmHeavenMania.Games.KarateMan
Swing(null);
}
}
for(int i=0;i < shadows.Length; i++)
{
shadows[i].color = Color.Lerp(KarateMan.instance.BGColor, new Color(35 / 255, 75 / 255, 1 / 255), 0.25f);
}
}
public void Combo(Pot p)