WASD = movement

Arrow Keys = rotate

Space = shoot

Kill as many enemies as possible while collecting yellow points that keep your energy up.

Made by 12 year old Rik Banerjee in 4 days.

My third game that I ever built, and my 1'st 2D game.

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