mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 08:17:38 +02:00
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:
@ -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);
|
||||
|
Reference in New Issue
Block a user