-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
Feature: Graphs Pathfinding #2468
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ine, formatting changes
hannibal002
added
the
Soon
This Pull Request will be merged within the next couple of betas
label
Sep 7, 2024
github-actions
bot
removed
the
Soon
This Pull Request will be merged within the next couple of betas
label
Sep 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TODO dont forget hanni before merging:
Dependencies
What
Bringing Graphs to other SkyBlock islands, no longer only the Glacite Tunnels! 🔥
This pr adds an API for loading and working with the graph feature.
We now create one graph per island type. Dwarven mines/Glacite tunnels need special handling here.
Graphs consist of nodes (points in the world) that are connected. We use the Dijkstra algorithm to then calculate the fastest route between two nodes of the network.
When calculating the closest node to a target location to get a graph to the closest node to the player, we can draw a path finder to the target.
The graph editor view now has the option to set predefined tags to the different nodes. e.g. "npc" or "area beginning".
There are also already features done:
All those features still need config options.
For a full list of planned ideas with this graph feature, see the comments in the file
IslandGraphs.kt
.Changelog New Features