v0.0.5 Pooling


After many hours of struggling to get the game as optimized as possible, I believe I've achieved just that. I had to resort to:

  • Toggling collision
  • limiting the amount of enemies
  • object pooling
    • for the meat, and the skull that drops on goblin death
    • for destroying enemies 

The main contributor to lag spikes was the Shockwave ability, which would cause many entities to collide, be destroyed and spawn all within a  few frames. Hopefully with this update lag spikes are a thing of the past!

Now I can focus on balancing the game and adding some much-needed content!

Cheers!

Ruan

Files

Chicken Knight v0.0.5_POOL.zip Play in browser
70 days ago

Leave a comment

Log in with itch.io to leave a comment.