more fixes yahoo
This commit is contained in:
parent
45d0af6472
commit
69e2cfea11
|
|
@ -195,11 +195,11 @@ namespace HeavenStudio.Games
|
|||
for (int i = 0; i < pinkLength; i++)
|
||||
{
|
||||
if (index >= repeatAmount) break;
|
||||
int realerIndex = index;
|
||||
bool beforeGameSwitch = beat + (index * length) < gameSwitchBeat;
|
||||
double realLastBeat = lastBeat;
|
||||
actions.Add(new BeatAction.Action(beat + (index * length), delegate
|
||||
{
|
||||
monkeyHandler.SpawnMonkey(realLastBeat, true, beat + (realerIndex * length) < gameSwitchBeat);
|
||||
monkeyHandler.SpawnMonkey(realLastBeat, true, beforeGameSwitch);
|
||||
}));
|
||||
index++;
|
||||
lastBeat += 1;
|
||||
|
|
@ -214,10 +214,10 @@ namespace HeavenStudio.Games
|
|||
{
|
||||
if (index >= repeatAmount) break;
|
||||
int jindex = i;
|
||||
int realerIndex = index;
|
||||
bool beforeGameSwitch = beat + (index * length) < gameSwitchBeat;
|
||||
actions.Add(new BeatAction.Action(beat + (index * length), delegate
|
||||
{
|
||||
monkeyHandler.SpawnMonkey(relevantPinks[jindex].beat, true, beat + (realerIndex * length) < gameSwitchBeat);
|
||||
monkeyHandler.SpawnMonkey(relevantPinks[jindex].beat, true, beforeGameSwitch);
|
||||
}));
|
||||
index++;
|
||||
}
|
||||
|
|
@ -225,11 +225,11 @@ namespace HeavenStudio.Games
|
|||
}
|
||||
else
|
||||
{
|
||||
int realIndex = index;
|
||||
double realLastBeat = lastBeat;
|
||||
bool beforeGameSwitch = beat + (index * length) < gameSwitchBeat;
|
||||
actions.Add(new BeatAction.Action(beat + (index * length), delegate
|
||||
{
|
||||
monkeyHandler.SpawnMonkey(realLastBeat, false, beat + (realIndex * length) < gameSwitchBeat);
|
||||
monkeyHandler.SpawnMonkey(realLastBeat, false, beforeGameSwitch);
|
||||
}));
|
||||
index++;
|
||||
lastBeat += 2;
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ namespace HeavenStudio.Games.Scripts_MonkeyWatch
|
|||
monkeyBeat = beat;
|
||||
direction = dir;
|
||||
holeAnim = hole;
|
||||
holeAnim.DoScaledAnimationAsync("HoleOpen", 0.5f);
|
||||
holeAnim.DoScaledAnimationAsync("HoleOpen", 0.5f, instant ? 1 : 0);
|
||||
anim.DoScaledAnimationAsync(isPink ? "PinkAppear" : "Appear", 0.5f, instant ? 1 : 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue