5 ex_iso_astar_8c example
gullradriel edited this page 2026-10-09 00:51:57 +02:00

ex_iso_astar.c

Nilorea Library: Isometric engine + A* pathfinding + Dead Reckoning demo Console-only demonstration showing how the three new modules work together:

  1. ISO_MAP: Creates a height-aware isometric map with terrain, height, and walkability layers. Demonstrates coordinate conversion, height interpolation, terrain transitions, and map save/load.
  2. A* Pathfinding: Builds an ASTAR_GRID from the ISO_MAP and finds optimal paths between points. Shows how terrain height affects both walkability and path cost.
  3. Dead Reckoning: Simulates network latency hiding by moving an entity along the A* path with periodic "network updates" and convergence blending.

Usage: ./ex_iso_astar