Added: 3 years ago
From: dai2pon
Views: 4,094
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (3)

Sign In or Sign Up now to post a comment!
  • nice work!

    but you have to prevent the npc from walking through a corner! its not hard to do

  • wow that's nice, could you make a tutorial on the AI

  • The "AI" in this case is trivial, it's just a graph search algorithm finding the path in the graph.

    You could look into A* search algorithm for more detail. In this case I think Dijkstra or even simpler BFS which is 20 lines of code to implement will work.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more