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

A-Star Grid Map

An asset by Maaack
The page banner background of a mountain and forest
A-Star Grid Map hero image

Quick Information

0 ratings
A-Star Grid Map icon image
Maaack
A-Star Grid Map

Node for managing an AStarGrid2D.Connects to TileMapLayers and groups of dynamic colliders to automatically build the grid and set solid points.

Supported Engine Version
4.4
Version String
0.1.0
License Version
MIT
Support Level
community
Modified Date
8 hours ago
Git URL
Issue URL

A-Star Grid Map

Node for managing an AStarGrid2D.

Connects to TileMapLayers and groups of dynamic colliders to automatically build the grid and set solid points.

Objective

Simplify interfacing with the AStarGrid2D.

I kept re-using this between projects and losing changes between versions, so I wanted to have one copy in a centralized place.

Installation

  1. Go to the AssetLib tab.
  2. Search for "A-Star Grid Map Plugin".
  3. Click on the result to open the plugin details.
  4. Click to Download.
  5. Check that contents are getting installed to addons/ and there are no conflicts.
  6. Click to Install.
  7. Enable the plugin from the Project Settings > Plugins tab.

When enabled, the plugin will add the AStarGridMap2D node.

Usage

Add AStarGridMap2D to a scene and give it a region. Plug in a tilemap that should be treated as a wall, or the names of groups that have dynamic colliders, like doors or destructible obstacles.

Call get_world_path_avoiding_points() to get a path to a target.

Node for managing an AStarGrid2D.

Connects to TileMapLayers and groups of dynamic colliders to automatically build the grid and set solid points.

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
A-Star Grid Map icon image
Maaack
A-Star Grid Map

Node for managing an AStarGrid2D.Connects to TileMapLayers and groups of dynamic colliders to automatically build the grid and set solid points.

Supported Engine Version
4.4
Version String
0.1.0
License Version
MIT
Support Level
community
Modified Date
8 hours 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