Skip to content
Skills Library
Programming · Building & coding

isometric-pathfinding

/isometric-pathfinding

Use when units must navigate an isometric grid around obstacles using A* on the walkable layer with correct iso neighbor rules.

Licence
MIT
Last repository change
12.08.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 12.08.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when units must navigate an isometric grid around obstacles using A* on the walkable layer with correct iso neighbor rules.

Original author description

Use when units must navigate an isometric grid around obstacles using A* on the walkable layer with correct iso neighbor rules.

How it works

  1. Overview
  2. When to Use
  3. Process
  4. Rationalizations (Stop Lying to Yourself)
  5. Red Flags - STOP if you catch yourself:
  6. Verification
Original SKILL.md headings · 48 lines, 277 words
SKILL.md preview
---
name: isometric-pathfinding
description: Use when units must navigate an isometric grid around obstacles using A* on the walkable layer with correct iso neighbor rules.
license: MIT
---

# Isometric Pathfinding

## Overview

Pathfinding runs on grid coordinates, not screen pixels. This skill implements A* over the walkable layer with proper diagonal handling so units take natural paths and never cut through blocked corners.

## When to Use

- Units or NPCs need to move to a target around obstacles.
- Characters walk through walls or take ugly paths.
- You have a walkable layer and need movement on it.

## Process

1. Run A* on grid coords using the tilemap walkable layer.
2. Define neighbors: 4-way or 8-way; for 8-way, forbid cutting blocked corners.
3. Use an admissible heuristic (octile distance for 8-way).
4. Return a path of grid tiles, then convert to screen with `isometric-grid-math`.
5. Smooth the path (string-pulling) to avoid zig-zag.
6. Recompute or repath when the map or target changes.
7. Cap search cost (node budget) for large maps.

```text
heuristic (octile): dx=|x1-x2|, dy=|y1-y2|; h = (dx+dy) + (1.414-2)*min(dx,dy)
```

## Rationalizations (Stop Lying to Yourself)

| Excuse | Reality |
|---|---|
| "Straight-line movement is fine" | Units will walk into walls. Use A* on the walkable layer. |
| "Corner cutting looks fine" | Units clip through diagonal walls. Forbid blocked-corner cuts. |

## Red Flags - STOP if you catch yourself:

- Pathfinding on screen coords instead of grid coords.
- Allowing diagonal moves through blocked corners.
- No node budget so large maps freeze.

## Verification

You are NOT done until every box is checked:

- [ ] A* finds paths around obstacles on the walkable layer.
- [ ] Diagonal moves never cut blocked corners.
- [ ] Path converts correctly back to screen positions.

Versions

The database has no other skills named isometric-pathfinding.

Database snapshot: 13.11.2026 · package version 53b63a9665c5 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100godot-navigation-pathfinding
    Expert blueprint for AI pathfinding (tower defense, RTS, stealth) using NavigationAgent2D/3D, NavigationServer, avoidance, and dynamic navigation mesh generation. Use when implementing enemy AI, NPC movement, or obstacle avoidance. Keywords NavigationAgent2D, NavigationRegion2D,…
  • 100godot-navigation-pathfinding
    Expert blueprint for AI pathfinding (tower defense, RTS, stealth) using NavigationAgent2D/3D, NavigationServer, avoidance, and dynamic navigation mesh generation. Use when implementing enemy AI, NPC movement, or obstacle avoidance. Keywords NavigationAgent2D, NavigationRegion2D,…
  • 90using-isometric-skills
    Use when starting ANY isometric game task to route the request to the correct specialized skill before writing code or generating art.
  • 100grid-pathfinding-strategy
    Use for grid A*, Dijkstra, BFS, flow fields, terrain costs and tactical movement routes; not 3D NavMesh steering.
  • 100isometric-grid-math
    Use when converting between grid coordinates and screen pixels in a 2:1 isometric projection, including screen-to-grid for mouse picking.
  • 100dynamic-navmesh-steering
    Use for 3D NavMesh navigation, dynamic obstacle invalidation, crowd steering and Rapier movement adapters; not grid A*.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.