Join #ludumdare on irc.afternet.org
Ludum Dare 13 :: December 5th-7th Weekend :: Theme :: ???

Sign In | Write your Journal
Home | Planet Ludum | Rules Wiki | Mailing List

R1 | R2 | Round 3 Voting - Verbs | R4


Compiler Bugs Plaguing Your Project?

Posted by mikeware

Well, I was just playing my game before going to bed again, and I found a strange bug. The problem is it works fine when running from the source. It’s only in the compiled version. Must be an optimization happening or something, but Python uses byte-code so it should be the same. I’m very confused about it at the moment. It’s not a major bug, it just plays the losing sound and flashes the lose graphic for a second before flashing win and doesn’t do the nice animation.

I’m going to try and fix it now, and repost the exe after flipping around my logical conditions a bit.

Update: Of course, as always, as soon as you make a post, you find the bug.  And it just kicks you in the face.  It’s a really obscure bug, which if I had a legion of testers could have been found.  I apparently, would always end the game selecting two frames of the same size, and the bug occurs when it’s frames of different sizes.  What a pain.  Hope people won’t mind if I upload the fixed version to the small problem…  Just one small additional to a conditional…

Leave a Reply


All posts, images, and comments are owned by their creators.