TinoTano / AoE_Project2

Age of Empires game for project 2
https://tinotano.github.io/AoE_Project2/
1 stars 3 forks source link

(A)Pathfinding lag #2

Closed dafral closed 7 years ago

dafral commented 7 years ago

The game freezes for a second or so when the player changes the destination of a troop really fast. It should be improved to be sure the 60 frames per second are reached.

dafral commented 7 years ago

It seems that it only happens when you select non-walkable tiles, or impossible to acces tiles (sand island).

dafral commented 7 years ago

The game gets really crazy sometimes, sending units tiles and tiles away from the map.