Performance Improvements (#173)

* improve performance with new render settings

- fix letterboxing losing camera references

* fin in missing params?

needs testing

* finish default param check

* scale jump animation of fan club spectators

* fix missing references in a karate man method

* more liberal use of Double in conductor

beatkeeping is now absolute instead of being additive

* optimize Conductor more

reduce caching from constantly sorting tempo changes despite game manager doing it for us
moved metronome logic to LateUpdate
This commit is contained in:
minenice55
2022-09-22 22:05:04 -04:00
committed by GitHub
parent af8dd6142e
commit 695f6671fb
26 changed files with 398 additions and 248 deletions

View File

@ -945,6 +945,9 @@ namespace HeavenStudio.Games
void UpdateFilterColour(Color bgColor, Color filterColor)
{
bgGradientRenderer = BGGradient.GetComponent<SpriteRenderer>();
bgBloodRenderer = BGBlood.GetComponent<SpriteRenderer>();
bgRadialRenderer = BGRadial.GetComponent<SpriteRenderer>();
Color col;
if (textureFilterType == (int) ShadowType.Tinted)
col = Color.LerpUnclamped(bgColor, ShadowBlendColor, 0.45f);