The Enemy Waves & AI Pathfinding System is a critical gameplay framework responsible for dynamically spawning enemy waves and guiding them through the map toward their objective using intelligent pathfinding. The system ensures a balance between game pacing and challenge by controlling wave timing, enemy types, routing logic, and terrain-aware navigation.

Timed & Triggered Waves

Multiple Spawn Points & Routes

Smart Re-Routing on Blocked Paths

Goal Triggers (e.g., base damage, alarm)

Gameplay Impact:

  • Creates high tension and consistent pacing.
  • Makes defense and resource management more dynamic.

Use Cases:

  • Survival modes (zombies, aliens, etc.)
  • Arena shooters
  • Mission-based encounters with boss waves