New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Targeting improvements #1140

Merged
merged 3 commits into from Aug 13, 2014

Conversation

Projects
None yet
2 participants
@dorkster
Collaborator

dorkster commented Aug 11, 2014

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.

igorko added a commit that referenced this pull request Aug 13, 2014

@igorko igorko merged commit 03e73fe into clintbellanger:master Aug 13, 2014

@dorkster dorkster deleted the dorkster:targeting branch Aug 21, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment