He guys,
I need a little help with my enemy health bar. I am spawning enemies and I'm also spawning new health bars to go over there head like in a tower defense. But 1 thing i for got was when i scale 1 enemies health bar it scales them all.
I know threes a way to do this lol. Im also using an instance variable called health that is worth 100.Each hit subtracks 10 points from it and when its 0 the enemy dies. But that healthbar doesn't know i want to assign it to individual enemies.
Thanks in advanced. Happy crafting.