Spacewar Starter Kit - health

In Spacewar Starter Kit, how do I increase the health

At the Player.cs, I`ve tried to change the private int health = 500; 

But didn`t workout.

 

Plz help
Ronan




Answer this question

Spacewar Starter Kit - health

  • OctopusThu

    In the EvolvedScreen class's constructor, you'll find two lines at the end of it:

    SpacewarGame.Players[0].Health = 5;
    SpacewarGame.Players[1].Health = 5;

    Change these. Why they did this, I don't know.



  • Spacewar Starter Kit - health