ThankS
  • techbrood
  • web lover
  • 积分:23271 发表:23117

PathFind.js 很棒的路径搜索JS库和地图编辑器

绿色方块设定起点,红色方块设点,灰色方块为路径障碍,设定好地图后,点击Start search按钮开始路径搜索并给出最佳路径连接图。 可应用于类似“神经猫”这类游戏。 可选算法包括: A*,IDA*,Breadth-First,Best-First,Jump Point,Orthogonal Jump Point等。 Source: https://github.com/qiao/PathFinding.js

注:如有问题敬请及时联系我们