mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-04-30 02:24:27 +02:00
last commit but r2 (#977)
This commit is contained in:
parent
6f9a4fab5f
commit
6b8693a13e
@ -1015,7 +1015,7 @@ namespace HeavenStudio.Games
|
||||
}
|
||||
else
|
||||
{
|
||||
if (PlayerInput.GetIsAction(InputAction_BasicPressing) || GameManager.instance.autoplay)
|
||||
if (PlayerInput.GetIsAction(InputAction_BasicPressing) || GameManager.instance.Autoplay)
|
||||
{
|
||||
//sound
|
||||
if (lateness == 0)
|
||||
|
@ -30,7 +30,7 @@ namespace HeavenStudio.Games.Scripts_MannequinFactory
|
||||
|
||||
BeatAction.New(game, new List<BeatAction.Action> {
|
||||
new(startBeat + 1, delegate { headAnim.DoScaledAnimationAsync("Move1", 0.3f); }),
|
||||
new(startBeat + 3, delegate { if (game.gameManager.autoplay) headAnim.DoScaledAnimationAsync("Move2", 0.3f); }),
|
||||
new(startBeat + 3, delegate { if (game.gameManager.Autoplay) headAnim.DoScaledAnimationAsync("Move2", 0.3f); }),
|
||||
new(startBeat + 4, delegate {
|
||||
PlayerActionEvent input;
|
||||
if (turnStatus == 1) {
|
||||
|
@ -612,7 +612,7 @@ namespace HeavenStudio.Games
|
||||
}
|
||||
else
|
||||
{
|
||||
if (GameManager.instance.autoplay)
|
||||
if (GameManager.instance.Autoplay)
|
||||
{
|
||||
RavenAnim.DoScaledAnimationAsync("Ready", 0.5f);
|
||||
}
|
||||
|
@ -103,14 +103,14 @@ namespace HeavenStudio.Games.Scripts_AgbNightWalk
|
||||
{
|
||||
new BeatAction.Action(endBeat, delegate
|
||||
{
|
||||
if (GameManager.instance.autoplay && !stopped)
|
||||
if (GameManager.instance.Autoplay && !stopped)
|
||||
{
|
||||
game.playYan.Walk();
|
||||
}
|
||||
}),
|
||||
new BeatAction.Action(endBeat + 0.5, delegate
|
||||
{
|
||||
if (GameManager.instance.autoplay && !stopped && !isEndEvent)
|
||||
if (GameManager.instance.Autoplay && !stopped && !isEndEvent)
|
||||
{
|
||||
game.playYan.Walk();
|
||||
anim.DoScaledAnimationAsync("Note", 0.5f);
|
||||
@ -119,7 +119,7 @@ namespace HeavenStudio.Games.Scripts_AgbNightWalk
|
||||
}),
|
||||
new BeatAction.Action(endBeat + 1, delegate
|
||||
{
|
||||
if (GameManager.instance.autoplay && !stopped && !isEndEvent)
|
||||
if (GameManager.instance.Autoplay && !stopped && !isEndEvent)
|
||||
{
|
||||
rollPlatform.DoScaledAnimationAsync("Note", 0.5f);
|
||||
SoundByte.PlayOneShotGame("nightWalkAgb/open" + (int)type);
|
||||
@ -133,7 +133,7 @@ namespace HeavenStudio.Games.Scripts_AgbNightWalk
|
||||
{
|
||||
new BeatAction.Action(endBeat + 0.5, delegate
|
||||
{
|
||||
if (GameManager.instance.autoplay && !stopped)
|
||||
if (GameManager.instance.Autoplay && !stopped)
|
||||
{
|
||||
handler.StopAll();
|
||||
handler.DestroyPlatforms(endBeat + 2, endBeat - 3, endBeat + 6);
|
||||
@ -218,14 +218,14 @@ namespace HeavenStudio.Games.Scripts_AgbNightWalk
|
||||
{
|
||||
new BeatAction.Action(endBeat, delegate
|
||||
{
|
||||
if (GameManager.instance.autoplay && !stopped)
|
||||
if (GameManager.instance.Autoplay && !stopped)
|
||||
{
|
||||
game.playYan.Walk();
|
||||
}
|
||||
}),
|
||||
new BeatAction.Action(endBeat + 0.5, delegate
|
||||
{
|
||||
if (GameManager.instance.autoplay && !stopped && !isEndEvent)
|
||||
if (GameManager.instance.Autoplay && !stopped && !isEndEvent)
|
||||
{
|
||||
anim.DoScaledAnimationAsync("Note", 0.5f);
|
||||
SoundByte.PlayOneShotGame("nightWalkAgb/open" + (int)type);
|
||||
@ -239,7 +239,7 @@ namespace HeavenStudio.Games.Scripts_AgbNightWalk
|
||||
{
|
||||
new BeatAction.Action(endBeat, delegate
|
||||
{
|
||||
if (GameManager.instance.autoplay && !stopped)
|
||||
if (GameManager.instance.Autoplay && !stopped)
|
||||
{
|
||||
handler.StopAll();
|
||||
handler.DestroyPlatforms(endBeat + 2, endBeat - 3, endBeat + 6);
|
||||
|
Loading…
x
Reference in New Issue
Block a user