Ludum Dare Bug Fixing


Updated versions of the Windows Executable and the WebGL builds have been uploaded. These should be the end of the most prominent crashes occurring. The Source Code has also been updated to reflect the changes made to fix the underlying issues. In short, the issues come in two flavours:

  • If there were any balls being spawned in while a level was being successfully completed by the player, they would prevent the game from continuing. Because I was lazy, I was destroying all of the balls in the play area at the end of a level, and spawning in new ones. What turned this into a crash was that I have the balls spawn in from above the play area, where balls normally die. I have some janky code that says you can't destroy a ball until it falls down far enough. So if a ball was in this spawn in area, and was marked as un-destroyable, while the game was trying to destroy it, the game would end up in a loop and crash.
  • I was doing a bad job of serializing the save file, which was causing issues at various points. This fix I'm less confident about.

There is still a good chance that playing the game too long will result in a crash, I haven't done any notable work to investigate that problem, but hopefully these two fixes help mitigate that issue.

Thanks everyone who played and left feedback on Embark! I hope you enjoy the less broken version.

Files

Embark_LD48_V4.zip 26 MB
Apr 28, 2021
LudumDare_48_SourceCode.zip 111 kB
Apr 28, 2021
Embark_LD48_WebGL_V2.zip Play in browser
Apr 28, 2021

Get Embark

Leave a comment

Log in with itch.io to leave a comment.