mirror of
https://github.com/frizbee19/FebGameJam.git
synced 2026-11-11 04:22:40 +00:00
Fix animations + jumping animation
This commit is contained in:
5 files changed
+93
-8
No files matched your search
@@ -15,7 +15,7 @@ public class Movement : MonoBehaviour
|
||||
[SerializeField] private Collider2D m_CrouchDisableCollider; // A collider that will be disabled when crouching
|
||||
|
||||
const float k_GroundedRadius = .2f; // Radius of the overlap circle to determine if grounded
|
||||
private bool m_Grounded; // Whether or not the player is grounded.
|
||||
public bool m_Grounded; // Whether or not the player is grounded.
|
||||
const float k_CeilingRadius = .2f; // Radius of the overlap circle to determine if the player can stand up
|
||||
private Rigidbody2D m_Rigidbody2D;
|
||||
private bool m_FacingRight = true; // For determining which way the player is currently facing.
|
||||
@@ -162,4 +162,3 @@ public class Movement : MonoBehaviour
|
||||
transform.localScale = theScale;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user