Comments

Log in with itch.io to leave a comment.

instead of rotating the player with the arrow keys you can use this simple piece of code


public float offset;

public void Update () {

Vector3 distance = Camera.main.ScreenToWorldPoint (Input.mousePosition) - transform.position;
float rotZ = Mathf.Atan2 (distance.y, distance.x) * Mathf.Rad2Deg;
    transform.rotation = Quaternion.Euler (0f, 0f, rotZ + offset);//edit the offset in the inspector if you found problems


}

and instade of using unity normal text use text mesh pro and add canvase scaler to scale ui with screen size

Sure I'll update it.

Hey, are you participating for the community jam?

yes