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

Frogger Jump location preview [bounty: 4 XTR] #2574

Open
DreadKnight opened this issue Apr 25, 2024 · 6 comments
Open

Frogger Jump location preview [bounty: 4 XTR] #2574

DreadKnight opened this issue Apr 25, 2024 · 6 comments
Assignees
Labels
abilities The issue is related to an unit ability or more bounty Some amount of our token, XatteR, is offered coding This issue requires some programming easy Good place to start if you're a new developer input Deals with hotkeys, interaction & accessibility
Milestone

Comments

@DreadKnight
Copy link
Member

As follow-up to issue #2533 's fix, Uncle Fungus's Frogger Jump ability could show up transparent cardboard preview to the hovered target location

@DreadKnight DreadKnight added coding This issue requires some programming 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 Apr 25, 2024
@DreadKnight DreadKnight added this to the 0.5 - Chimera milestone Apr 25, 2024
@gg447062
Copy link
Contributor

I'm glad to do this one

@DreadKnight
Copy link
Member Author

DreadKnight commented Apr 30, 2024 via email

@gg447062
Copy link
Contributor

gg447062 commented May 8, 2024

@DreadKnight this one seems good to go, but just a quick question. At the bottom of the hexgrid code I found a function called fadeOutTempCreature that has a comment above it mentioning factoring it out but it seems to do exactly what we need when using the previewCreature function so I used it for this ability. Does this seem ok?

@DreadKnight
Copy link
Member Author

DreadKnight commented May 9, 2024

fadeOutTempCreature

@gg447062 Took a peek at it. Well, ideally it would be to do things as indicated in the comment there it seems 🐻
You could use that and I could open new issue regarding the TODO refactoring 🤔 hopefully it won't create chaos.

fadeOutTempCreature() {

@gg447062
Copy link
Contributor

gg447062 commented May 9, 2024

Ok from what I can tell, that function is only used twice so I don't think it should cause too much chaos to refactor it. I think the thing that confused me about the comment was that it mentions the existing temp creature created by /src/abilities/Dark-Priest.js but unless I'm totally off the temp creature is this.materialize_overlay, which is also not an instance of Creature.creatureSprite.

@DreadKnight
Copy link
Member Author

Ok from what I can tell, that function is only used twice so I don't think it should cause too much chaos to refactor it. I think the thing that confused me about the comment was that it mentions the existing temp creature created by /src/abilities/Dark-Priest.js but unless I'm totally off the temp creature is this.materialize_overlay, which is also not an instance of Creature.creatureSprite.

@gg447062 Comment could be wrong, I'm not sure. Feel free to poke at it and make a PR 🐻

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 coding This issue requires some programming easy Good place to start if you're a new developer input Deals with hotkeys, interaction & accessibility
Projects
None yet
Development

No branches or pull requests

2 participants