LittleJS
LittleJS copied to clipboard
AI module
I have a really nice A* implementation in my older c++ engine that I need to port over to JS. Thinking about porting that over to js and adding some more stuff to help make it easier to program AI.
This would work in conjunction with the tile collision system to allow pathfinding through the collision.
Here is the path finding code...
https://github.com/KilledByAPixel/FrankEngine/blob/main/FrankEngine/Source/Core/pathFindingBase.cpp