How do you make a ranged attack in a mouse based top down game?

Here it is of the enemy type but it also does not matter - it will work the same regardless - the purpose is to check whether there is a target worth attacking. In the grand scheme of things it will matter even less as you will need to employ an interface for communication.

How would you recommend that I set the timer? Is it better to set timers by function name or event?

I prefer by event because I have fat fingers and mistype function names. :innocent:


It’s pure.

image

1 Like