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

Isometric Support #34

Closed
JoNMii opened this issue Apr 11, 2020 · 1 comment
Closed

Isometric Support #34

JoNMii opened this issue Apr 11, 2020 · 1 comment

Comments

@JoNMii
Copy link

JoNMii commented Apr 11, 2020

No description provided.

@roy-t
Copy link
Owner

roy-t commented Apr 12, 2020

Hey @JoNMii ,

You can easily create a grid where you can move in 8 directions by using Grid.CreateGridWithLateralAndDiagonalConnections(..);.

Also keep in mind that the grid used in this library, is for path finding only. It is an abstract representation of your game world. So you don't have to rotate the path finding grid, or have to have it go from -300 to 300. You need to do is establish a mapping from a cell in your world grid, to a cell in your path finding grid, and back.

Does this help?

@roy-t roy-t closed this as completed Aug 2, 2020
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

2 participants