Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

2D Hexagon TileMapLayer Navigation Class

An asset by DubiousDuck
The page banner background of a mountain and forest
2D Hexagon TileMapLayer Navigation Class thumbnail image
2D Hexagon TileMapLayer Navigation Class thumbnail image
2D Hexagon TileMapLayer Navigation Class hero image

Quick Information

0 ratings
2D Hexagon TileMapLayer Navigation Class icon image
DubiousDuck
2D Hexagon TileMapLayer Navigation Class

This is a Godot plugin that adds a global class that navigates 2D TileMapLayers with hexagon-shaped cells.Works for Godot version 4.3 and up.Check out the Repo for a more detailed explanation of how to use this class!

Supported Engine Version
4.3
Version String
1.1.1
License Version
MIT
Support Level
community
Modified Date
3 months ago
Git URL
Issue URL
icon

Hexagon TileMapLayer Navigation Class

This is a Godot plugin that adds a global class that handles navigation on 2D TileMapLayers with Hexagon tiles.

Works for Godot version 4.3 and up.

You can install it via the AssetLibrary in the Godot editor or download the repo on GitHub.

How to Install

  • Copy the 'hex_grid_nav' folder to your 'addons' folder in your Godot project
  • In Project Settings, under the "Plugin" tab, enable the checkbox next to "Hexagon Grid Navigation".
  • You will now see the class "HexNavi" has been added to Global Autoload

How to use

A detailed explanation of the functions available in the HexNavi class can be found in this documentaion

Here are some initial steps to set up the class properly:

  • Add a TileMapLayer node to your desired scene
  • Set the Tile Shape in Tile Set of the TileMapLayer to Hexagon
  • Call HexNavi.set_current_map() at the beginning of your script and use the TileMapLayer you just set up as the input
  • Congrats! You have successfully set up the navigation system. You can now call whichever functions in the documentation that you see fit.

Check out the example project to see how to use the different functions of the class!

Contact

If you have any questions, comments, and suggestions, please don't hesitate to reach out to [email protected]

This is a Godot plugin that adds a global class that navigates 2D TileMapLayers with hexagon-shaped cells.

Works for Godot version 4.3 and up.

Check out the Repo for a more detailed explanation of how to use this class!

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
2D Hexagon TileMapLayer Navigation Class icon image
DubiousDuck
2D Hexagon TileMapLayer Navigation Class

This is a Godot plugin that adds a global class that navigates 2D TileMapLayers with hexagon-shaped cells.Works for Godot version 4.3 and up.Check out the Repo for a more detailed explanation of how to use this class!

Supported Engine Version
4.3
Version String
1.1.1
License Version
MIT
Support Level
community
Modified Date
3 months ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers