Skip to content

V1.2.0

Latest

Choose a tag to compare

@n0m4official n0m4official released this 04 Jul 19:41
· 22 commits to main since this release

Major Update

Major Changes:

  • NPCs no longer get stuck!

  • Pathfinding logic improved to handle blocked or unreachable goals properly.

  • NPCs now choose new random valid goals when they encounter an obstacle they cannot pass.

  • Recalculation now verifies paths before committing, avoiding infinite loops.

  • Dynamic random goal system

  • Instead of static hardcoded goals, NPCs dynamically select reachable coordinates.

  • Each NPC can autonomously explore the map without developer intervention.

  • Improved move logic

  • Movement now checks for obstacles and boundaries robustly.

  • Added detailed console logs to show each move attempt and recalculation decision.

Bug Fixes:

  • Fixed infinite path recalculation loops when obstacles blocked the only route.

  • Fixed issues where NPCs appeared idle due to unreachable goals.

  • Cleaned up error messaging to make debugging easier.

Minor Improvements:

  • Added clear separation of NPC behaviors and world update logic.

  • Updated SeekBehaviour class for cleaner initialization and future extensibility.

  • Improved keyboard input handling and smoother simulation loop.