I'm trying to create game where two characters will fight automatically.
And I faced a problem: characters start to fight when one of them overlap another.
So it doesn't look good. How can I fix this?
I want they to fight standing a short distance.
Develop games in your browser. Powerful, performant & highly capable.
Use "Overlapping at offset" or compare distance(sprteA.x, spriteA.y, spriteB.x, spriteB.y) using "System->Compare two values"