I discovered jumper.lua which is an incredibly fast and easy to use pathfinding library for grid-based maps.
However, it is giving me problems.
I am going to use this library with a procedurally generated map: as the player moves, a new 32 x 32 piece of terrain appears when needed.
This could make the map look non-rectangular of course. The problem is that when I try to create a Grid out of a non-rectangular map, the jumper.grid module warns ne with a Bad argument #1. Not a valid map.
error.
Is there a way to bypass this while still making the library work? Or should I search for another library?