sgdk-ai

Installation
SKILL.md

SGDK AI

Give enemies clear rules, a predictable amount of work and feedback the player can read. A Bombardier that spots you, turns, pauses and attacks often feels smarter than one that runs an expensive search every frame.

Choose the behavior first

  • Define what each enemy knows: current target, last seen position, home and state timer. Keep perception separate from movement and attack resolution.
  • Make state changes cancel old intentions. Stun, defeat, respawn and a new level must invalidate outstanding path results and attacks.
  • Use a sight range and, where useful, a forward cone. Check occlusion against the same solid geometry used for movement. Remember a lost target briefly instead of following its hidden live position forever.
  • Keep a visible target unless there is a reason to switch. Decide how equal distances and multiple players are resolved. Telegraph attacks and recheck whether a melee strike can still hit when its wind-up ends.
Installs
3
First Seen
1 day ago