Shadow colours are much more accurate

This commit is contained in:
Carson Kompon
2022-02-26 22:28:15 -05:00
parent 69cb7a729b
commit e3a5e55d54
3 changed files with 10 additions and 2 deletions

View File

@ -29,6 +29,7 @@ namespace RhythmHeavenMania.Games.KarateMan
public Color[] LightBulbColors;
public Color[] BackgroundColors;
public static Color ShadowBlendColor = new Color(195f / 255f, 48f / 255f, 2f / 255f);
const float hitVoiceOffset = 0.042f;
@ -308,5 +309,12 @@ namespace RhythmHeavenMania.Games.KarateMan
shadow.transform.SetAsLastSibling();
bomb.GetComponent<Bomb>().shadow = shadow;
}
public Color GetShadowColor()
{
var col = Color.LerpUnclamped(KarateMan.instance.BGColor, KarateMan.ShadowBlendColor, 0.45f);
return col;
}
}
}