I have a zombie that can follow the player but can't attack him.
Can somebody help me ?
Develop games in your browser. Powerful, performant & highly capable.
Pin an invisible helper sprite to the zombie, slightly larger than the zombie itself. When player collides with or overlaps the helper sprite, do attack.
Thanks it worked