We're working the last of the bugs and implementing our final critiques when it comes to gameplay.
The path finding has been optimized and resembles that of the original Command and Conquer path finding verbatim. Now, a hundred ground unit objects can path find and navigate the map with a barely noticeable performance hit.
Prior to our enhancements, each unit would re-path every time it had to make a move. When you're path finding on a 300 x 300 grid with a number of obstacles this can take lots of time.
Now, the path finding occurs when the player gives the units the command to attack or move. If the unit can't move it waits, and will try to move along this path for 2 seconds before it re-paths.
This improves the gameplay and gives a much better player experience.
No comments:
Post a Comment