clintbellanger/flare-engine — pull request #1140 by dorkster (2014-08-11 05:23:53+00:00)
Title: Targeting improvements

Related to #143

* For offensive powers, an animation is now displayed on the ground where the target is. This makes it more clear where your attacks will land. I made a simple animation that I'll submit to the flare-game repo.
* If the player was using software cursors, the "attack" cursor often disappeared due to moving their mouse off the enemy. To make this feel better, the attack cursor is now kept on as long as the player is holding the attack button.
* Melee attacks should not be using `aim_assist` The `aim_assist` variable only makes sense for projectiles, where the actual target is slightly below the projectile animation. However, we still it so that when the player clicks on the torso of a human-sized enemy with a melee attack, their attack gets aimed properly. So I implemented some slight auto-targeting for melee attacks. If the mouse is over an enemy and a melee attack is used, the position of that enemy becomes target.