I want to make a tank game where enemies have more health than players.I can't find where to change enemy health.Does anyone know how?Is it possible?
You need to use Instance variables :
For example :
Enemy health = 5
Bullet on collision with enemy ------------- enemy subtract 1 from health
Develop games in your browser. Powerful, performant & highly capable.
okay
You can also make health bars.
Do this.
Make a bar (colored red or something) and set the width to (overallhealth)x
Then make it every tick set bar width to (health-globalvariable-)x
I found out how to do it.Turns out I needed to inscrease the base health and not the turret health