Hello folks. First of all I have to say sorry for my poor english.
I have one sprite for an enemy. Its a bug! It has one instance variable (health).
My enemy spawns between one and five times randomly on my map.
If I fight against this bug and the bug dies, all other bugs which also spawned on my map also die. Because they have the same name and the same instance variable which is then at 0.
How can I bypass this? Array? Dont know about arrays.
I just cannot find any solution for this for two days now.
Hope u guys can help me.