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

@ -116,10 +116,14 @@ namespace RhythmHeavenMania.Games.KarateMan
private void Update()
{
if (Conductor.instance.songPositionInBeats >= createBeat)
{
spriteComp.enabled = true;
shadowSpriteComp.color = Color.Lerp(KarateMan.instance.BGColor, new Color(35 / 255, 75 / 255, 1 / 255), 0.25f);
}
else
{
spriteComp.enabled = false;
}
float time2Destroy = Conductor.instance.GetPositionFromBeat(createBeat, 4);