{"author_name":"mikeware","cat":"LD #11 - Minimalist - 2008","comments":[],"epoch":1208739720,"likes":0,"metadata":{"p_key":"75042","p_author":"mikeware","p_authorkey":"272","p_urlkey":"110874","p_title":"Compiler Bugs Plaguing Your Project?","p_cat":"LD #11 - Minimalist - 2008","p_event":"LD11","p_time":"1208739720","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"272","us_name":"mikeware","us_username":"\/author\/mikeware\/","event_start":"1208476800","event_key":"87","event_name":"LD11"},"text":"<p>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&#8217;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&#8217;m very confused about it at the moment.  It&#8217;s not a major bug, it just plays the losing sound and flashes the lose graphic for a second before flashing win and doesn&#8217;t do the nice animation.<\/p>\n <p>I&#8217;m going to try and fix it now, and repost the exe after flipping around my logical conditions a bit.<\/p>\n <p>Update: Of course, as always, as soon as you make a post, you find the bug.\u00a0 And it just kicks you in the face.\u00a0 It&#8217;s a really obscure bug, which if I had a legion of testers could have been found.\u00a0 I apparently, would always end the game selecting two frames of the same size, and the bug occurs when it&#8217;s frames of different sizes.\u00a0 What a pain.\u00a0 Hope people won&#8217;t mind if I upload the fixed version to the small problem&#8230;\u00a0 Just one small additional to a conditional&#8230;<\/p>","time":"April 20th, 2008 8:02 pm","title":"Compiler Bugs Plaguing Your Project?"}