Macromedia Flash Pro 8 Game Tutorial 4 : Enemy And Health

Enemy:
onClipEvent(enterFrame){
if(_root.char.hitTest(this)){
_root.hp–;
}
}

Hp Bar Instance Name:
hp

Hp Code (Put In Frame):
hp = 100;

—————————————-
It wont let me put hp bar on here so just check the comments and i will have put it on there

Post Author: hatefull