Unity2d: How to Jump & Rotate The Same Time?

Hi, Im really new to Unity. Im searching this for 3 days, and go nowhere. My box2d auto run right & jump smoothly now. But I can’t get it rotate 360 from starting jump to land like image. I read & tried so my methods still can’t get it right. Below a part of my code, could you please help me out a little bit? Thanks:

public float speed = 5f;
public float jump = 8;
public bool grounded;
private Rigidbody2D rb2d;

void Start () {
		rb2d = gameObject.GetComponent<Rigidbody2D> ();
	}

void Update () {

               rb2d.transform.Translate (Vector3.right * speed *  Time.deltaTime);

                if(grounded == true && Input.GetKey (KeyCode.RightArrow)) {
				rb2d.velocity = new Vector2 (speed * 8 * Time.smoothDeltaTime, jump);
                }
}

Is the ground always flat? Is it on the same level from where you jumped?
Or is it like geometry wars?

Anybody? Could u guys please help with this?

@lenten1111
sorry if i’m a bit too late, but anyways, here’s what problem you have.
In the top where you define your variables, you’ve set the jump float to 8, when it should be 8f.
and the same problem is present in the very bottom where it should be 8f again.

otherwise the script should work fine.