r/LittleJS • • May 24 '26

New LittleJS plugin: A* pathfinding

Small demo: https://killedbyapixel.github.io/LittleJS/examples/?example=Path+Finder

This is set up as an official plugin and included with the engine!

  • Corner cleanup

  • String pulling

  • Heuristics

  • Override getCost for custom grids

1 Upvotes

0 comments sorted by