PDA

View Full Version : Exchanging points for health.


dcwoody
04-11-2005, 12:56 AM
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, 11:57 PM
I don't really know how you built this, but try something like this.


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