Monday, April 7, 2014

Dev Blog 61 - Bug fixes, new level

After getting a good deal of feedback I spent some time fixing a myriad of bugs:

  • Removed Level Auto-Generator from Main Menu until it's complete
  • Chromacore was previously limited to Landscape only, but this appears not to always work. Added some code to ensure it stays in Landscape only.
  • Tweaked respawn checkpoint positions to prevent death upon repsawn
  • Teli only respawns once after death now, should remove any stuttering or shaking upon respawn
Working on implementing Level 12 now!

Update @ 2AM: Just published some additional bug fixes - when I fixed the previous issues, I inadvertently created more issues. Reminds me of the programming copypasta joke:

99 little bugs in the code 
99 little bugs
Take one down, patch it around 
117 little bugs in the code

Anyway, so the issues were now when Teli hits an obstacle, the death animation plays but he doesn't respawn and just lies there uselessly. The other issue was that after death (either from obstacles or platform edges) there was a small window where the player could still provide input and Teli's animations and movement would be triggered, right before respawning.

So now Teli will respawn properly after obstacle death, and all controls are disabled once Teli dies and enabled upon respawn.

No comments:

Post a Comment