LoS (Shining Force Fan Game) AI Move To Location

Channel:
Subscribers:
505
Published on ● Video Link: https://www.youtube.com/watch?v=ED9iRls-sKI



Duration: 2:09
211 views
18


Re-working AI now.

Fixed a big annoyance with the old code, where a group of enemies would walk to their destination in a single file line. Old code was also set to follow shortest path as opposed to least cost path.

I marked the AI's destination with a flag to show what tile they're trying to get to. You should see that they will now get as close as they can to their destination should one or more locations be blocked.

Oh right. AI can also use teleport tiles as well. :D







Tags:
Shining Force
Fan Game
Legend of Syro
Shining Force 2