Fxgl AI Pathfinding

Implement AI movement and pathfinding in FXGL — set up an AStarGrid, find paths using AStarPathfinder, attach AStarMoveComponent or RandomAStarMoveComponent to entities, implement GOAP (Goal-Oriented Action Planning) with world state and action preconditions, add SenseAI for vision and hearing, set up waypoint patrol routes, generate dungeons and mazes procedurally. Use this skill when making enemies chase the player, implementing patrol behaviours, building GOAP NPC AI, adding pathfinding to a tile-based game, or generating procedural levels.

JohannesRabauer Updated

File contents

JohannesRabauer/fxgl-skills/tree/main/skills/fxgl-ai-pathfinding commit e993192208

Frequently asked questions

npx skillmds@latest add johannesrabauer/fxgl-ai-pathfinding