Made first level IG

This commit is contained in:
2025-04-25 14:46:41 +01:00
parent 06010f27ef
commit f803d0ed83
18 changed files with 6813 additions and 9 deletions

View File

@@ -7,9 +7,11 @@ public partial class PlayerMovement : MonoBehaviour
private void UpdateInput()
{
// Calls get axis raw to ignore any uneeded scaling
m_Input.x = Input.GetAxisRaw("Horizontal");
//m_Input.x = Input.GetAxisRaw("Horizontal");
m_Input.y = Input.GetAxisRaw("Vertical");
m_Input.y = Mathf.Clamp(m_Input.y, 0, Mathf.Infinity);
// Updates key press states
m_JumpKeyPressed = Input.GetKey(m_JumpKey);
m_SlidingKeyPressed = Input.GetKey(m_SlideKey);