Skip to content

Commit

Permalink
nightly v1.8.0.0 (1/11)
Browse files Browse the repository at this point in the history
  • Loading branch information
ipodtouch0218 committed Jan 12, 2024
1 parent 7225a0f commit 14e8167
Show file tree
Hide file tree
Showing 8 changed files with 84 additions and 74 deletions.
129 changes: 65 additions & 64 deletions Assets/Scenes/MainMenu.unity
Original file line number Diff line number Diff line change
Expand Up @@ -2343,10 +2343,10 @@ RectTransform:
m_Father: {fileID: 823064026}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 24}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 130, y: -484}
m_SizeDelta: {x: 260, y: 24}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &66575388
MonoBehaviour:
Expand Down Expand Up @@ -2481,9 +2481,9 @@ RectTransform:
m_Father: {fileID: 698007182}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 130, y: -110}
m_SizeDelta: {x: 260, y: 24}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &75133766
Expand Down Expand Up @@ -2633,9 +2633,9 @@ RectTransform:
m_Father: {fileID: 698007182}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 130, y: -136}
m_SizeDelta: {x: 260, y: 24}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &75580657
Expand Down Expand Up @@ -2784,9 +2784,9 @@ RectTransform:
m_Father: {fileID: 698007182}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 130, y: -188}
m_SizeDelta: {x: 260, y: 24}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &77529301
Expand Down Expand Up @@ -2934,10 +2934,10 @@ RectTransform:
m_Father: {fileID: 823064026}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 30}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 130, y: -19}
m_SizeDelta: {x: 260, y: 30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &80074248
MonoBehaviour:
Expand Down Expand Up @@ -3975,9 +3975,9 @@ RectTransform:
m_Father: {fileID: 698007182}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 130, y: -15}
m_SizeDelta: {x: 260, y: 30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &153817299
Expand Down Expand Up @@ -6885,9 +6885,9 @@ RectTransform:
m_Father: {fileID: 698007182}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 130, y: -32}
m_SizeDelta: {x: 260, y: 24}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &256353508
Expand Down Expand Up @@ -14263,9 +14263,9 @@ RectTransform:
m_Father: {fileID: 698007182}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 130, y: -255}
m_SizeDelta: {x: 260, y: 30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &402645375
Expand Down Expand Up @@ -15707,10 +15707,10 @@ RectTransform:
m_Father: {fileID: 823064026}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 34}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 130, y: -98}
m_SizeDelta: {x: 260, y: 34}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &438218786
MonoBehaviour:
Expand Down Expand Up @@ -17139,10 +17139,10 @@ RectTransform:
m_Father: {fileID: 823064026}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 24}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 130, y: -36}
m_SizeDelta: {x: 260, y: 24}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &485322299
MonoBehaviour:
Expand Down Expand Up @@ -23635,10 +23635,10 @@ RectTransform:
m_Father: {fileID: 823064026}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 34}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 130, y: -62}
m_SizeDelta: {x: 260, y: 34}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &574816556
MonoBehaviour:
Expand Down Expand Up @@ -24877,10 +24877,10 @@ RectTransform:
m_Father: {fileID: 823064026}
m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 24}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 130, y: -134}
m_SizeDelta: {x: 260, y: 24}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &644584041
MonoBehaviour:
Expand Down Expand Up @@ -26781,10 +26781,10 @@ RectTransform:
m_Father: {fileID: 823064026}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: -321}
m_SizeDelta: {x: 260, y: 322}
m_Pivot: {x: 0, y: 0.5}
--- !u!114 &698007183
MonoBehaviour:
Expand Down Expand Up @@ -28312,9 +28312,9 @@ RectTransform:
m_Father: {fileID: 698007182}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 130, y: -84}
m_SizeDelta: {x: 260, y: 24}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &745954561
Expand Down Expand Up @@ -36986,9 +36986,9 @@ RectTransform:
m_Father: {fileID: 698007182}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 130, y: -214}
m_SizeDelta: {x: 260, y: 24}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &899502179
Expand Down Expand Up @@ -44107,9 +44107,9 @@ RectTransform:
m_Father: {fileID: 698007182}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 130, y: -298}
m_SizeDelta: {x: 260, y: 24}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &1259822364
Expand Down Expand Up @@ -49851,9 +49851,9 @@ RectTransform:
m_Father: {fileID: 698007182}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 130, y: -58}
m_SizeDelta: {x: 260, y: 24}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &1488925096
Expand Down Expand Up @@ -75289,9 +75289,9 @@ RectTransform:
m_Father: {fileID: 698007182}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 130, y: -284}
m_SizeDelta: {x: 260, y: 24}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &1585506762
Expand Down Expand Up @@ -79962,6 +79962,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
renderToTextureIfAvailable: 0
verticalSizeInTiles: 14
--- !u!1 &1711963779
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -89400,9 +89401,9 @@ RectTransform:
m_Father: {fileID: 698007182}
m_RootOrder: -1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 130, y: -162}
m_SizeDelta: {x: 260, y: 24}
m_Pivot: {x: 0.5, y: 1}
--- !u!114 &2007433170
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/BuildInfo.cs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
public static class BuildInfo{public static string BUILD_TIME = "1/11/2024 12:55:07 AM";}
public static class BuildInfo{public static string BUILD_TIME = "1/12/2024 4:07:48 AM";}
2 changes: 1 addition & 1 deletion Assets/Scripts/Entity/Enemy/BulletBill.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public override void SpecialKill(bool right, bool groundpound, bool mega, int co
IsDead = true;
WasSpecialKilled = true;
WasGroundpounded = true;
WasKilledByMega = true;
WasKilledByMega = mega;

if (WasKilledByMega) {
FacingRight = right;
Expand Down
5 changes: 5 additions & 0 deletions Assets/Scripts/Entity/Enemy/KillableEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ public override void RespawnEntity() {
FacingRight = false;
WasSpecialKilled = false;
WasGroundpounded = false;
WasKilledByMega = false;
WasCrushed = false;
ComboCounter = 0;

Expand All @@ -326,6 +327,10 @@ public override void DespawnEntity(object data = null) {
}

IsDead = true;
WasSpecialKilled = false;
WasGroundpounded = false;
WasKilledByMega = false;
WasCrushed = false;
}

//---IPlayerInteractable overrides
Expand Down
11 changes: 7 additions & 4 deletions Assets/Scripts/Entity/Player/PlayerController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,8 @@ public override void FixedUpdateNetwork() {
HandleGroundCollision();
IsOnGround |= GroundSnapCheck();

CheckForEntityCollision();

if (IsOnGround) {
IgnoreCoyoteTime = false;
}
Expand All @@ -519,7 +521,6 @@ public override void FixedUpdateNetwork() {
HandleMovement(heldButtons, pressedButtons);
}

CheckForEntityCollision();
PreviousTickIsOnGround = IsOnGround;
}

Expand Down Expand Up @@ -594,11 +595,11 @@ private void HandleDeathTimers() {
}
}

#region -- COLLISIONS --
#region -- COLLISIONS --.// hand
private void HandleGroundCollision() {
IsOnGround = body.Data.OnGround && PropellerLaunchTimer.ExpiredOrNotRunning(Runner);

OnSpinner = null;

foreach (PhysicsDataStruct.ObjectContact objectContact in body.Data.ObjectsStandingOn) {
NetworkObject obj = objectContact.GetNetworkObject(Runner);

Expand All @@ -609,7 +610,7 @@ private void HandleGroundCollision() {

if (obj.CompareTag("spinner") && obj.gameObject.TryGetComponent(out SpinnerAnimator spinner)) {
OnSpinner = spinner;
OnSpinner.HasPlayer = true;
spinner.HasPlayer = true;
break;
}
}
Expand Down Expand Up @@ -2062,6 +2063,8 @@ private void HandleJumping(bool jumpHeld, bool doJump, bool down) {

if (!DoEntityBounce && OnSpinner && !HeldEntity) {
// Jump of spinner
Debug.Log($"{Runner.Tick}{(Runner.IsResimulation ? " (R)" : "")}");

body.Velocity = new(body.Velocity.x, launchVelocity);
IsSpinnerFlying = true;
SpinnerLaunchAnimCounter++;
Expand Down
5 changes: 3 additions & 2 deletions Assets/Scripts/Entity/World Elements/SpinnerAnimator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class SpinnerAnimator : NetworkBehaviour, IBeforeTick {
//---Serialized Variables
[SerializeField] private Transform topArmBone;
[SerializeField] private BoxCollider2D hitbox;
[SerializeField] private float idleSpinSpeed = -100, fastSpinSpeed = -1800, pressSpeed = 0.5f;
[SerializeField] private float idleSpinSpeed = -100, fastSpinSpeed = -1800, pressSpeed = 0.5f, acceleration = 1350f;

//---Public Variables
public float spinSpeed;
Expand All @@ -29,6 +29,7 @@ public override void Spawned() {
public void BeforeTick() {
HasPlayer = false;
hitbox.transform.localPosition = new(0, ArmPosition * -0.084f, 0);
Physics2D.SyncTransforms();
}

public override void Render() {
Expand All @@ -40,7 +41,7 @@ public override void Render() {
armRenderPosition = ArmPosition;
}

spinSpeed = Mathf.MoveTowards(spinSpeed, HasPlayer ? fastSpinSpeed : idleSpinSpeed, Time.deltaTime * 1350f);
spinSpeed = Mathf.MoveTowards(spinSpeed, HasPlayer ? fastSpinSpeed : idleSpinSpeed, Time.deltaTime * acceleration);
topArmBone.eulerAngles += spinSpeed * Time.deltaTime * Vector3.up;
topArmBone.localPosition = new(0, armRenderPosition * -0.084f, 0);
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Assets/Scripts/UI/CopyNdsTextureRect.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 14e8167

Please sign in to comment.