Asset Loading Fix (#843)

* (hopefullyt) fix asset loading issue

* let mis-packed games load from res

timing display tweak

* fix initial pre-load not actually preloading needed games

fix mr upbeat metronome

* let's try this resyncing again
This commit is contained in:
minenice55
2024-04-08 22:01:18 -04:00
committed by GitHub
parent 10e9a5e35d
commit c9f6b3edaf
7 changed files with 112 additions and 85 deletions

View File

@ -155,6 +155,8 @@ namespace HeavenStudio.Common
{
case Rating.OK:
it = OK;
// makes the explosion smaller with less accurate inputs
it.transform.localScale = Vector3.one * (1f - (frac / 2f));
break;
case Rating.Just:
it = Just;
@ -165,13 +167,6 @@ namespace HeavenStudio.Common
}
}
// makes the explosion smaller with less accurate inputs
if (it == OK)
{
float okScalar = 1 - (frac / 2);
it.transform.localScale = new Vector3(okScalar, okScalar, it.transform.localScale.z);
}
it.transform.position = barTransform.position + new Vector3(0, barTransform.localScale.y * y, 0);
it.GetComponent<ParticleSystem>().Play();
}