mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 16:27:37 +02:00
Misc. Fixes and Additions (#440)
* Ringside fixes * Clappy Trio bop logic fix * Quiz show answer reaction fix * prequel background begone! * You can now hide the alien in spaceball * Fixed lightning toss jank * btsds recolor, need to add lights next * Btsds lights and recolor * fixed sweat particle rendering over reporter * Asset bundles accomodation
This commit is contained in:
@ -47,15 +47,6 @@ namespace HeavenStudio.Games.Loaders
|
||||
new Param("bop", CatchyTune.WhoBops.Both, "Bop", "Should Plalin and Alalin bop?"),
|
||||
new Param("bopAuto", CatchyTune.WhoBops.None, "Bop", "Should Plalin and Alalin auto bop?"),
|
||||
},
|
||||
},
|
||||
new GameAction("background", "Background")
|
||||
{
|
||||
function = delegate {var e = eventCaller.currentEntity; CatchyTune.instance.changeBG(e["BG"]); },
|
||||
defaultLength = 0.5f,
|
||||
parameters = new List<Param>()
|
||||
{
|
||||
new Param("BG", CatchyTune.Background.Long, "BG", "The background to change to")
|
||||
},
|
||||
}
|
||||
},
|
||||
new List<string>() {"ctr", "normal"},
|
||||
@ -104,8 +95,6 @@ namespace HeavenStudio.Games
|
||||
public GameObject pineappleBase;
|
||||
public Transform fruitHolder;
|
||||
public GameObject heartMessage;
|
||||
|
||||
public GameObject bg1;
|
||||
public GameObject bg2;
|
||||
|
||||
// when to stop playing the catch animation
|
||||
@ -320,20 +309,6 @@ namespace HeavenStudio.Games
|
||||
}
|
||||
}
|
||||
|
||||
public void changeBG(int bg)
|
||||
{
|
||||
if (bg == 0)
|
||||
{
|
||||
bg1.SetActive(true);
|
||||
bg2.SetActive(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
bg1.SetActive(false);
|
||||
bg2.SetActive(true);
|
||||
}
|
||||
}
|
||||
|
||||
public void catchSuccess(bool side, bool isPineapple, bool smile, float beat, float endSmile)
|
||||
{
|
||||
string anim = isPineapple ? "catchPineapple" : "catchOrange";
|
||||
|
Reference in New Issue
Block a user