I'm working on a zombie game. Every tick, each zombie object sets its angle towards the player and moves forward one pixel.
This is fine when there is one zombie. However, when I add multiple zombies to the layout, they all walk towards the same position. At some point, they overlap and won't separate.
How do I make it so that the zombies can't overlap?