Fast Script Ai For mobile: Navmesh or A*?

Hi all.
I’ m making a zombie waves game for mobile(Android).

I have created my Enemy Ai using navmesh, but when i have more enemies spawned, my fps average is 6-10.

A* Pathfinding script is more fast then script+Navmesh?

I m scipting on Javascript.

Try waypoints instead. If you maintain a table of waypoints, it’s very fast, and in many ways easier to implement than your own A* pathfinding. Also, it makes it very easy for you to control pathing during runtime.

Here’s a good intro/rationale for waypoints:

And a tutorial:

BTW, here’s the whole tutorial series:

It’s for Unity mobile development.

And here’s AngryAnt’s implementation: