Hi friends,
I made an enemy which has life as an instance variable. In this specific case: 2 hits.
So when something hits the enemy, it's life goes down by one and, when life = 0, it dies.
Now, if I spawn two of them, only one seems to handle the instance. Could someone show me how to do this correctly?
And how to make a different lifebar for each instance of enemy, if that's possible.
Thank you very much.