Skip to content
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

Issue_1250 #1290

Merged
merged 3 commits into from
Nov 15, 2017
Merged

Issue_1250 #1290

merged 3 commits into from
Nov 15, 2017

Conversation

ShaneWalsh
Copy link
Collaborator

colored hexagon outlines for targets #1250 : resolved by making the reachable creatures have a hallow hex when chosen as targets, and a filled hex when hovered.

Also resolved #1289 as part of the same change, by making the onHover check if the target tile is reachable. If it is its a pointer, because u can execute an action on them, else its the arrow cursor because the hex is not reachable.

So if you have a creature with a 1 range attack, and a creature is within one hex but the creature has multiple hex's, only the closest hex will have a hallow hex colored, and when you hover on it should have pointer cursor. If you hover on the other hex they should have the arrow cursor because they are not selectable.

let me know what you think.

@DreadKnight DreadKnight temporarily deployed to ancientbeast-pr-1290 November 15, 2017 22:56 Inactive
@DreadKnight DreadKnight merged commit 923c5aa into FreezingMoon:master Nov 15, 2017
@DreadKnight
Copy link
Member

DreadKnight commented Nov 15, 2017

@ShaneWalsh Good job! Opened some more issues to improve overall consistency for ability targeting.

CyberBishop pushed a commit to CyberBishop/AncientBeast that referenced this pull request Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

viable target pointer cursor
2 participants