Did a few things

This commit is contained in:
2021-07-23 09:45:12 +02:00
parent 3da75e4cc6
commit db537bd7b7
122 changed files with 15101 additions and 619 deletions

View File

@@ -35,12 +35,12 @@ public class PlayerControls : MonoBehaviour
if (switchy){
sprite.flipY = true;
rb.sharedMaterial = top;
controller.m_JumpForce = controller.m_JumpForce * 2f;
controller.m_JumpVelocity = controller.m_JumpVelocity * 2f;
}
else {
sprite.flipY = false;
rb.sharedMaterial = bottom;
controller.m_JumpForce = controller.m_JumpForce / 2f;
controller.m_JumpVelocity = controller.m_JumpVelocity / 2f;
}
sfx.clip = RotateSFX;
sfx.Play();
@@ -69,7 +69,7 @@ public class PlayerControls : MonoBehaviour
}
void FixedUpdate(){
controller.Move(horizonatalaxis * runspeed * Time.fixedDeltaTime, jumping);
controller.Move(horizonatalaxis * runspeed * 10f * Time.fixedDeltaTime, jumping);
}
}