itch.io is community of indie game creators and players

Devlogs

v0.0.5 Pooling

Chicken Knight
A browser game made in HTML5

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 20 MB
    Oct 03, 2024
Leave a comment