I decided it was time to work on optimising my code a bit. So I went through and did just that.
On top of that, I’ve added a accurate FPS counter that give you:
Lowest fps
Average fps
Highest fps
I’ve also added a spawn cap per round, for example:
Say there’s 16 enemies and 4 spawners, each spawn 4 enemies, what my system does is caps the spawn rate to 2, so now it spawns 2 for every 4, once the player has killed the 8 enemies that have spawned, the spawners will spit out the 8 that are left to end the round at a total of 16.
Every time you open a door and link the new spawners, my system takes that in to account and adjusts the variables needed! Best part about it is that I got a huge boost in my frames! And the Player won’t get crowded by 100 zombies at a time!
Now obviously that’s just an example, there’s going to be more than 2 at a time (16 from each to be exact, possibly 8 depending).
Again, on top of all that, I’ve fixed a lot of bugs, I had to go all out Sherlock on one of them - Reloading and purchasing a perk whilst not having enough takes 500 points and gives you full ammo.
Thanks to my tester Mrr7782
for spotting that. Right now I’ve got 2 testers all with different specs.
Testers:Dessicrater
Mrr7782
We’re on on Windows so I’ll have to wait to test on Mac. If you have Mac and would like to test please drop a comment and I’ll send you a message!
0 comments