Recently I've been working with optimizing my game engine.
The reason is that once I started adding trees and plants to the game,
the frame rate dropped significantly.
Luckily I've made some real improvements.
I've added model instancing which reduced the number of draw calls the CPU was making.
I've also modified my AI so they don't call on Path finding so often.
This has managed to raise the FPS to over 30 fps.
I'm sure I can find more performance enhancements as the project continues, but for now I need to focus on getting some of the remaining game mechanics working. . .
Next on my list is to improve the steering behavior of the characters to achieve a smoother
overall animation, as well as add ease in and out and true collision detection to them.
Here's a video I took once I got the first pass of the terrain collision working, the landscape and buildings are all being reworked but it's starting to come along! :)
0 comments:
Post a Comment