https://github.com/korolevsoftware/pathfinder
Defold extension wave path finder
https://github.com/korolevsoftware/pathfinder
defold extension path pathfinder pathfinding
Last synced: about 2 months ago
JSON representation
Defold extension wave path finder
- Host: GitHub
- URL: https://github.com/korolevsoftware/pathfinder
- Owner: KorolevSoftware
- License: apache-2.0
- Created: 2021-11-16T16:13:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-26T09:50:14.000Z (about 2 years ago)
- Last Synced: 2025-03-23T17:22:34.909Z (2 months ago)
- Topics: defold, extension, path, pathfinder, pathfinding
- Language: C++
- Homepage:
- Size: 25.4 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pathfinder (Alpha)
Defold extension wave path finder## Installation
You can use the Pathfinder extension in your own project by adding this project as a [Defold library dependency](http://www.defold.com/manuals/libraries/).
Open your game.project file and in the dependencies field under project add:>https://github.com/KorolevSoftware/Pathfinder/archive/v1.zip
## Using
-1 is block
map only two dimension
```lua
local start = vmath.vector3(1, 1, 1)
local finish = vmath.vector3(4, 4, 4)
local map = {
{0, 0,0,0},
{-1,0,0,0},
{0, 0,0,0},
{0, 0,0,0}
};
local path = pathfinder.solve(map, start, finish)
```