I'm trying to create a game server. The game I want to create has a following feature.
- 2d (isometric view)
- ~300 users can play so a map will be not that small
- all units can move in any angle (not only 8 directions)
- all obstacles and buildings will be constructed to fit on tiles (There are many different sizes, but all of them are rectangular in shape.)
- every user can build/destroy buildings
- There are vehicles users can ride.
To do pathfinding for different size of units, I found the clearance based pathfinding.
The problem is some vehicles' size are not square. It's like 2*4 size.
So It seems it's hard to use tile-based astar algorithm.
So I thought about using navmesh.
Then the new problem is all users can build some buildings whenever they want if they have enough money. and buildings can be constructed in most regions of the map.
So I have to recalculate a navmesh. (I'm not sure how slow it will be.)
In this case, what kind of approach should I do?