Various small additions and changes (#105)

* Fan Club: spotlight effects

* new icons for Pajama Party, Karate Man

* Editor: make context use Rodin font

* idem for entities

* Blue Bear: import HQ texture

* Pajama Party: option to sleep forever

* Space Soccer: option to mute the dispense sound
This commit is contained in:
minenice55
2022-06-18 02:31:19 -04:00
committed by GitHub
parent 8d571f6443
commit ef0f090ba7
53 changed files with 10144 additions and 1494 deletions

View File

@ -99,7 +99,7 @@ namespace HeavenStudio.Games
public enum StageAnimations {
Reset,
Flash,
//TODO: spotlight
Spot
}
public enum IdolPerformanceType {
Normal,
@ -119,6 +119,9 @@ namespace HeavenStudio.Games
public GameObject spectator;
public GameObject spectatorAnchor;
[Header("References")]
public Material spectatorMat;
// end userdata
//arisa's animation controller
@ -200,6 +203,8 @@ namespace HeavenStudio.Games
{
idolAnimator.Play("NoPose" + GetPerformanceSuffix(), -1, 0);
}
ToSpot();
}
public static string GetPerformanceSuffix()
@ -410,13 +415,28 @@ namespace HeavenStudio.Games
{
case (int) StageAnimations.Reset:
StageAnimator.Play("Bg", -1, 0);
ToSpot();
break;
case (int) StageAnimations.Flash:
StageAnimator.Play("Bg_Light", -1, 0);
ToSpot();
break;
case (int) StageAnimations.Spot:
StageAnimator.Play("Bg_Spot", -1, 0);
ToSpot(false);
break;
}
}
public void ToSpot(bool unspot = true)
{
Arisa.GetComponent<NtrIdolAri>().ToSpot(unspot);
if (unspot)
spectatorMat.SetColor("_Color", new Color(1, 1, 1, 1));
else
spectatorMat.SetColor("_Color", new Color(117/255f, 177/255f, 209/255f, 1));
}
private void DoIdolJump(float beat, float length = 3f)
{
DisableBop(beat, length);