Hello,
I'm trying to make a metrovania/platform game with several enemies of the same type. The problem is that they all shoot at the same time, and if I have one is looking for the right, all of them shoot in the same direction
Right now I'm comparing the position of the enemy with the player's, and if I don't kill one of the enemies behind me, all others will shot to the wrong side...
I've seen a lot of similar questions but none seemed to answer the question completely. already tried instance variable and for each, but they didn't work