i know how to make a health bar, and give it to an enemy, but how would i use this if i were to clone, or multiply the enemy?
the problem is, every so often in my game eternal legacy, lich summons eye balls, and i want to give them health bars, but theres more then 1, so thats where im confused,
and they need to have it INDEPENDANT from eachother, what i mean is
if i have 1 variable, eye_var
eye_var=16;
{
// if collision with fireball do damage
}
ok... so now what if there are 10 eyeballs on the screen, shooting it would decrease ALL of their health by the amount i set...
thats not good