Hello all. Been tinkering with a 2.5 platform game. Learning really. I finally got my movement script done for my player and was wondering if I could get someone to crit it for me? Is there better ways to do it? Is it effiecient? Just things like that. I've scoured the web and this site and read up as much as i could. Thanks in advance. Code (csharp): //Player control script //Inspector variables var speed : int = 6.0; // speed we move var jumpSpeed : int = 8.0; // how fast we jump var gravity : int = 20.0; // force of gravity var facingRight : boolean = true; var distToGround : float = 3.0; //Private variables private var moveDirection = Vector3.zero; // player move direction private var vertVel : float = 0; // vertical velocity private var isGrounded : boolean = true; // bool to check if we are grounded function Update () { if (Input.GetKeyDown (KeyCode.A)) { transform.right = new Vector3(0, 0, 1); facingRight = false; } else if (Input.GetKeyDown (KeyCode.D)) { transform.right = new Vector3(0, 0, -1); facingRight = true; } var translate : float = Input.GetAxis("Vertical"); if(facingRight == false Input.GetKey(KeyCode.A)) { transform.Translate(Vector3(0,0,5 * Time.deltaTime)); } if (facingRight == true Input.GetKey(KeyCode.D)) { transform.Translate (Vector3(0,0,5 * Time.deltaTime)); } groundCheck = (Physics.Raycast(transform.position, -Vector3.up, distToGround)); if (Input.GetButtonDown ("Jump") groundCheck == true) { rigidbody.AddRelativeForce(0, jumpSpeed, 0); } }