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

show skip turn icon when hovering active unit [bounty: 7 XTR] #2536

Closed
DreadKnight opened this issue Feb 11, 2024 · 2 comments
Closed

show skip turn icon when hovering active unit [bounty: 7 XTR] #2536

DreadKnight opened this issue Feb 11, 2024 · 2 comments
Assignees
Labels
abilities The issue is related to an unit ability or more bounty Some amount of our token, XatteR, is offered easy Good place to start if you're a new developer input Deals with hotkeys, interaction & accessibility visuals Various things that easily catch the eye

Comments

@DreadKnight
Copy link
Member

DreadKnight commented Feb 11, 2024

When a unit with no more available actions (which has "Skip turn" text over it) is hovered, there should be a "Skip Turn" icon showcased above the hexagon hovered (along with frame), similar style to #2537.

@DreadKnight DreadKnight added visuals Various things that easily catch the eye abilities The issue is related to an unit ability or more easy Good place to start if you're a new developer input Deals with hotkeys, interaction & accessibility bounty Some amount of our token, XatteR, is offered labels Feb 11, 2024
@DreadKnight DreadKnight added this to the 0.6 - Cyber Wolf milestone Feb 11, 2024
@DreadKnight DreadKnight added this to hexagon grid in interface tweaks Feb 11, 2024
@DreadKnight DreadKnight changed the title show skip turn icon above unit [bounty: 7 XTR] show skip turn icon when hovering active unit [bounty: 7 XTR] Feb 11, 2024
@weiquu
Copy link
Contributor

weiquu commented Mar 4, 2024

Hi @DreadKnight, could I work on this issue? My current approach is to add a CreatureHintType (something like 'no_action'), which will then use phaser's .add to append a sprite of the "Skip Turn" icon above the "Skip turn" text. The appropriate creature.hint method is then called from the queryHexes method in hexgrid.ts

@DreadKnight
Copy link
Member Author

@weiquu Heya! Sounds good I guess, go for it. Will assign, 2 weeks soft deadline 🐻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
abilities The issue is related to an unit ability or more bounty Some amount of our token, XatteR, is offered easy Good place to start if you're a new developer input Deals with hotkeys, interaction & accessibility visuals Various things that easily catch the eye
Projects
interface tweaks
hexagon grid
Development

No branches or pull requests

2 participants