Home | Rules and Guide | Sign In/Create Account | Write a Post | Donate | #ludumdare on irc.afternet.org (Info)

Ludum Dare 23 — April 20th-23rd, 2012 — 10 Year Anniversary!

Ludum Dare 22 :: December 16th-19th, 2011 :: Theme: Alone

[ Results: Top 50 Compo, Jam | Top 25 Categories | View My Entry ]

[ View All (Compo, Jam) | Warmup ]


Compiler Bugs Plaguing Your Project?

Posted by
April 20th, 2008 8:02 pm

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

You must be logged in to post a comment.


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

[fcache: storing page]