I'm working on a Point and Click adventure game in JavaScript and I need help with the whole movement mechanic.
From what I gathered about the subject there seem to be two main subjects- Navigational Meshes and A* Pathfinding Algorithm. However, for the life of me I couldn't find a JS implementation of those combined.
All the A* implementations I've found are grid-based.
What I'm looking for, basically, is a way to navigate inside a large polygon.
I hope I made some sense, I'm not sure I understood it completely myself.