diff --git a/Assets/Scripts/Games/Airboarder/Airboarder.cs b/Assets/Scripts/Games/Airboarder/Airboarder.cs index fcd80b2f5..c3d0a8f84 100644 --- a/Assets/Scripts/Games/Airboarder/Airboarder.cs +++ b/Assets/Scripts/Games/Airboarder/Airboarder.cs @@ -276,7 +276,7 @@ namespace HeavenStudio.Games public void RequestArch(double beat) { - Arch newArch = Instantiate(archBasic); + Arch newArch = Instantiate(archBasic, transform); newArch.appearBeat = beat; newArch.gameObject.SetActive(true); } @@ -307,7 +307,7 @@ namespace HeavenStudio.Games public void CueCrouch(double beat) { - ScheduleInput(beat, 3f, InputAction_FlickRelease, CrouchSuccess, CrouchMiss, CrouchEmpty); + ScheduleInput(beat, 3f, InputAction_BasicPress, CrouchSuccess, CrouchMiss, CrouchEmpty); BeatAction.New(instance, new List() { new BeatAction.Action(beat, delegate {cpu1CantBop = true;}), diff --git a/Assets/Scripts/Games/Airboarder/Arch.cs b/Assets/Scripts/Games/Airboarder/Arch.cs index 506a56603..4ed5ef1ea 100644 --- a/Assets/Scripts/Games/Airboarder/Arch.cs +++ b/Assets/Scripts/Games/Airboarder/Arch.cs @@ -16,7 +16,7 @@ namespace HeavenStudio.Games.Scripts_Airboarder public float normalizedStart; - + [Header("Components")] @@ -30,7 +30,7 @@ namespace HeavenStudio.Games.Scripts_Airboarder private void Awake() { game = Airboarder.instance; - gameObject.transform.position = new Vector3(-140f, -1f, 0.8f); + } @@ -66,7 +66,10 @@ namespace HeavenStudio.Games.Scripts_Airboarder var cond = Conductor.instance; var currentBeat = cond.songPositionInBeatsAsDouble; float normalizedStart = Conductor.instance.GetPositionFromBeat(appearBeat, 40f); + float horizArch = (5*normalizedStart) - 140; anim.Play("move", 0, normalizedStart); +// gameObject.transform.position = new Vector3(horizArch, -1f, 0.8f); + }