Παρασκευή 3 Οκτωβρίου 2014

Restructuring and Optimizing

Spend the whole week restructuring most of my scripts and optimizing them. As you can see I'm pretty happy with the results, given that prior to optimization with only 5-6 enemies on screen fps dropped to 1-2 and now it can stand 80+ agents. Most of the drop it seems it happens when all of the enemies have in their sight the player because it's based upon the physics engine so it's not NavMesh's fault. Anyway i think it's pretty good results. Of course in the final build they might not be that many on screen because of draw calls and other reasons but it's nice to know that the pathfinding can handle much without killing performance.


I've also spend the week experimenting with MoCap to streamline the process and sped up things for the game. I had some good results with it but there are some tests left with it and it will be ready to go. More on that later...

Δεν υπάρχουν σχόλια:

Δημοσίευση σχολίου