Miu3 wrote:you could simply have a sprite on the main character like a zone of influence and when the enemy overlaps with it, it triggers the action
That sounds easy to setup and would probably work out well. Although I will probably not go that route as I am trying to optimize by reducing unnecessary objects/sprites. I know this is only one more sprite but from what I've read I think the test for overlapping is more to process than test of distance previously mentioned.
I always appreciate different ways to solve problems though so thanks for the comment.