Skip to main content
GameDev.net gamedev.net
Developer Blog

This is a developer's personal perspective or experience. Views expressed are those of the author.

PRO Tired of ads? Read GameDev.net ad-free and help keep the community independent with GameDev Pro — $3/month.

Red Blob Games
Red Blob Games Blog
· 1 month, 2 weeks ago

Differential heuristics

Briefing

A fresh release of a differential heuristics guide brings one of the more practical A* optimizations back into focus for developers working on large navigation graphs. The technique matters when plain A* starts exploring too much of the map, and the payoff is especially relevant for world-scale routing, open-world navigation, and any system where path queries need to stay interactive.

The new version is the result of a multi-year rewrite effort that began after repeated attempts to turn the material into a clean tutorial. Instead of leaning on walls of numbers, the presentation now uses two arrows to show when the heuristic’s suggested direction lines up with the correct direction, plus interactive visualizations that show where the optimization is effective as points move around.

That matters because differential heuristics are one of the simpler ways to cut down search space without jumping straight into more exotic graph machinery. For gameplay programmers and tools programmers, the practical takeaway is straightforward: better heuristics can mean fewer expanded nodes, faster route recalculation, and more headroom for large maps or frequent path updates.

The page is still carrying some legacy text and code from earlier iterations, but it’s now considered a releasable version after more than a decade of experimentation. For teams shipping navigation-heavy games, it’s a useful reminder that heuristic quality can be just as important as raw pathfinding implementation.

“I finally realized that I needed to stop trying to write a tutorial.”

— Red Blob Games · Explaining the multi-year rewrite process
Original source
Read on Red Blob Games
At a glance
what
A new release of a differential heuristics guide for A* pathfinding has gone live, with updated explanations and interactive visuals.
who
The work is associated with Red Blob Games, a long-running pathfinding and graph-visualization resource.
when
The material was iterated on repeatedly from 2015 through 2024 before this release.
impact
Faster heuristics can reduce node expansion and make large-map pathfinding more responsive for games and tools.
Signal Positive

Useful pathfinding knowledge gets a clearer, more practical presentation.

Discuss

Follow pathfinding updates

See relevant stories in your personalized news feed.

Sign in to follow

Continue on GameDev.net

Useful next steps related to this story.

Game development news without the noise

One useful weekly briefing. No daily flood.

Sending your confirmation email…

Discussion

Loading comments...