Skip to content

Conversation

m21-cerutti
Copy link

@m21-cerutti m21-cerutti commented Jul 9, 2024

Demo for showing how to use AStar2D with hexagonal map with minimal code.

With full debug :
image

Works with v4.2.2.stable.official [15073afe3].

@m21-cerutti m21-cerutti force-pushed the navigation_astar_hexagonal branch from 2399874 to 8837500 Compare July 13, 2024 11:05
AStar hexagonal pathfinding
Format corrections with A Thousand Ships <[email protected]> review
Corrections format with  external linter

```yml
default_install_hook_types: [pre-commit]
repos:

-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.5.0
    hooks:
    -   id: check-added-large-files
    -   id: check-case-conflict
    -   id: check-merge-conflict
    -   id: end-of-file-fixer
    -   id: trailing-whitespace
    -   id: check-json
    -   id: check-symlinks

-   repo: https://github.com/Scony/godot-gdscript-toolkit
    rev: 4.2.2
    hooks:
        - id: gdlint
          exclude: .*screenshots/
        - id: gdformat
          exclude: .*screenshots/

```
@m21-cerutti m21-cerutti force-pushed the navigation_astar_hexagonal branch from 825d8f0 to 2872148 Compare July 20, 2024 09:55
@m21-cerutti m21-cerutti marked this pull request as draft May 1, 2025 15:56
@aaronfranke
Copy link
Member

aaronfranke commented Oct 3, 2025

Is there any desire to continue work on this? I wonder if it could be combined with the hexagonal grid demo. I think a single demo showing both hexagonal navigation and hexagonal TileMap would make sense. It may also be worth coordinating together with PR #1239 which is changing the existing hexagonal grid demo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants