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

Pathfinding Example and Walls #2

Open
PeterPilley opened this issue Feb 5, 2023 · 0 comments
Open

Pathfinding Example and Walls #2

PeterPilley opened this issue Feb 5, 2023 · 0 comments

Comments

@PeterPilley
Copy link

Hi thanks for converting the react hexgrid to vue.

I have some questions for the pathfinding example and also for obstacles. I can see both react-hexgrid and vue-hexgrid build upon https://www.redblobgames.com/grids/hexagons/. In the article it discusses obstacles and I can see when it is rendered it has a css class of wall, do you know how this can be achieved with vue-hexgrid?

and finally in the pathfinding example there is the mouseenter and click event which should show paths like the react and redblob examples however it is trying to read from source.hex which is undefined, react-hexgrid sets this in this.state do I need to set a state first?

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

No branches or pull requests

1 participant