mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 08:47:37 +02:00
Auto Bop Internal Rework + Bug Fixes (#589)
* fixed blue bear * fixed tap trial bug * see saw fix * Auto bop rework
This commit is contained in:
@ -144,7 +144,6 @@ namespace HeavenStudio.Games
|
||||
public Animator Gramps;
|
||||
public Animator Hit;
|
||||
public GameObject Player;
|
||||
[NonSerialized] public bool shouldBop = true;
|
||||
bool canBop = true;
|
||||
bool grampsCanBop = true;
|
||||
public bool spaceGrampsShouldBop = false;
|
||||
@ -226,11 +225,12 @@ namespace HeavenStudio.Games
|
||||
instance = this;
|
||||
colorStart = defaultBGColor;
|
||||
colorEnd = defaultBGColor;
|
||||
SetupBopRegion("spaceDance", "bop", "auto");
|
||||
}
|
||||
|
||||
public override void OnBeatPulse(double beat)
|
||||
{
|
||||
if (shouldBop)
|
||||
if (BeatIsInBopRegion(beat))
|
||||
{
|
||||
Bop();
|
||||
}
|
||||
@ -656,7 +656,6 @@ namespace HeavenStudio.Games
|
||||
|
||||
public void EpicBop(double beat, float length, bool autoDancers, bool dancers, bool autoGramps, bool gramps)
|
||||
{
|
||||
shouldBop = autoDancers;
|
||||
spaceGrampsShouldBop = autoGramps;
|
||||
if (dancers || gramps)
|
||||
{
|
||||
|
Reference in New Issue
Block a user