Game details
new games for the team noobs
Ishup
Some codes for the jump mechanism is here take a look, try to code as less as possible and you need to explain and understand what you did....
public class JustJump : MonoBehaviour {
private Rigidbody2D myRigidbody; public float jumpSpeed = 5;
void Start () { myRigidbody = GetComponent(); } void Update () { float horizontal = Input.GetAxis("Horizontal");
if (Input.GetButtonDown("Jump"))
{
myRigidbody.velocity = new Vector2(myRigidbody.velocity.x, jumpSpeed);
}
}
}
Ishup
Ashraful
Code for Health is upcoming
I am working on the enemies of our game project, and my part of the game project is to make the the enemies atack the good girl, who is supposed to be the hero at the end of the game.