{"author_name":"Jordan Magnuson","cat":"LD #16 - Exploration - 2009","comments":[{"author_name":"SonnyBone","time":"December 17, 2009 3:00 am","epoch":1261036800,"text":"The original version worked fine for me, it seems. It&#8217;s cool that you tackled this so quickly, though.","spam":"N"}],"epoch":1261018560,"likes":0,"metadata":{"p_key":"71704","p_author":"Jordan Magnuson","p_authorkey":"1382","p_urlkey":"107526","p_title":"5 Colors: Pandora \u2013 crazy bug explained (and fixed)","p_cat":"LD #16 - Exploration - 2009","p_event":"LD16","p_time":"1261018560","p_likes":"0","p_comments":"1","p_status":"UPD5","us_key":"1382","us_name":"Jordan Magnuson","us_username":"jordan_magnuson","event_start":"1260489600","event_key":"2","event_name":"LD16"},"text":"<p>Okay, so I was baffled by some of the comments on 5 Colors that indicated that some of the structures in the game were partially invisible for some people (when people compared <a href=\"http:\/\/www.ludumdare.com\/compo\/ludum-dare-16\/?action=rate&amp;uid=1382\">playing the game<\/a> to watching the <a href=\"http:\/\/www.youtube.com\/watch?v=qwmV4y8XO_o\">walkthrough<\/a>).\u00a0\u00a0 I was completely unable to reproduce the bug on my system, and the really puzzling bit for me was that the background sprites used in the game <em>are one-piece sprites<\/em>.\u00a0 So it seemed that random bits of otherwise visible sprites were invisible for some people.<\/p>\n <p>The mystery was solved when I was finally able to reproduce the bug by playing the game on my wife&#8217;s netbook. It turns out that non-dedicated graphics cards have a hard time handling textures that are longer than around 2000 pixels on one side, which some of my background sprites were (my laptop has a low-end Geforce 8400 GS, and there&#8217;s no problem, but I&#8217;m assuming some people were playing the game on laptops with no dedicated video at all).<\/p>\n <p>I chopped the larger sprites into bits (a process that is going to make any changes I want to make in the future incredibly painful), and the game now plays as it should on my wife&#8217;s netbook &#8212; and I&#8217;m assuming it will work on everyone else&#8217;s laptops as well.<\/p>\n <p>So you can see that the bug was not <em>entirely <\/em>my fault, at least, not in the direct sense that my programming caused it\u00a0 &#8212; though I will take responsibility for\u00a0 it, since my ignorance <em>did <\/em>cause it \ud83d\ude1b .<\/p>\n <p><strong>Thank you very much to everyone who has commented on the game so far: I wouldn&#8217;t have found this bug without your help! I would be incredibly grateful if some of you who were experiencing this problem could try the game again, and let me know in the comments if the it is now working for you properly. Incredibly grateful. <\/strong><\/p>\n <p>You can download the fixed build <a href=\"http:\/\/necessarygames.com\/5_colors_pandora_fixed.zip\">here<\/a>.<\/p>\n <p><img class=\"aligncenter size-large wp-image-14449\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2009\/12\/2009-12-16_155619-550x412.jpg\" alt=\"2009-12-16_155619\" width=\"550\" height=\"412\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2009\/12\/2009-12-16_155619-300x225.jpg 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2009\/12\/2009-12-16_155619-550x412.jpg 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2009\/12\/2009-12-16_155619.jpg 1024w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/p>","time":"December 16th, 2009 9:56 pm","title":"5 Colors: Pandora \u2013 crazy bug explained (and fixed)"}