PDA

View Full Version : Exchanging points for health.


dcwoody
04-10-2005, 11:56 PM
In my game I have a working health bar and a working score display, and would to have the health go back up when a particular score (or scores) is (or are) reached.
Can anyone help me with this?

quinu
04-20-2005, 10:57 PM
I don't really know how you built this, but try something like this.


if(score >= 80){
resetHealthBar();
}