Captain Pico is Culturally Insensitive

Posted by
August 26th, 2013 10:24 pm


I had a nasty bug in my game that prevented a good number of people from playing.  The issue?  It was how I was parsing floating point values from the level data.  I wasn’t doing it in a culture neutral fashion, so anyone that used a comma instead of a period as the divider between integer and fractional portions of the number would crash.  The solution was to make all the parsing culture invariant.

Thanks to everyone who helped me find the bug on IRC, and especially Deinonychus for getting me the stack trace of the error.  If possible go play his game because he is such a nice guy:


Also if you want to play my now fixed game, you can find it at

Leave a Reply

You must be logged in to post a comment.

[cache: storing page]