Target tracking with a small delay (actionscript 3.0)
- by John Dodson
I'm having trouble thinking of a good method to track my character with an enemy attack. Of course, I don't want the attack to track my character's current position; I want it to track where the character was about 1 second before (so you can move around and make the attack miss and loop around you sort of a thing).
The general structure of my…