In the game i am doing there are different enemyes that are randomly generated, each one has its own shield attached to it like a different sprite.
I have tryed doing this with every tick - set position of shield to enemy
but when more than one enemy appears and you destroy the shield of another one, the shields start jumping from one to another
i supose that the way to solve this is with unique ID, but i don't know how
can anybody help me?