Skip to content

xingshuo/pathfinding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pathfinding

A kind of 7-Grids pathfinding algorithm based on A* and modified the method of calculating H referred to https://www.redblobgames.com/grids/hexagons/
It's make sure the path as short as possible and approximates the connection line between the start and end points.
Like this:
path
The lua-binding apis were written in lua-map.c with detailed description.
It's also support pathfinding cache function that you can choose open or not.

Build

make

Test

1. sh run.sh or sh run.sh -D

2. Open c.html in browser

About

A kind of 7-Grids pathfinding algorithm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages