{"author_name":"JayCFraser","cat":"LD #22","comments":[],"epoch":1324254960,"likes":1,"metadata":{"p_key":"60492","p_author":"JayCFraser","p_authorkey":"7225","p_urlkey":"96245","p_title":"Phew!","p_cat":"LD #22","p_event":"LD22","p_time":"1324254960","p_likes":"1","p_comments":"0","p_status":"UPD5","us_key":"7225","us_name":"JayCFraser","us_username":"jaycfraser","event_start":"1323993600","event_key":"8","event_name":"LD22"},"text":"<p>So, my original plan (documented in a recent post) was abandoned as soon as the theme was announced. The theme suggested to me a mood\/story based game, as opposed to a mechanic oriented game (which themes like self replication would lend themselves to). So, sadly, I haven&#8217;t commented my game making process at all (as writing a story based game in a short time seems, to me at least, to be a challenge bound to end in poor code as there is not time to create an editor for your game&#8217;s resources). In fact, there is one line of code which, to me, stands out as the single worst line of code in the whole game:<\/p>\n <pre>    \/\/play music\n memset(stream, 0, len);<\/pre>\n <p>Yes &#8211; the time constraint defeated me on at least one account :-(.<\/p>\n <p>Anyway, the game I made:<\/p>\n <p>&nbsp;<\/p>\n <p>You are a member of a crew on a space ship when you wake up to find the lights aren&#8217;t functioning. You have your camera with you to use for light if necessary (I forgot to update the dialogue to reflect this &gt;.&lt;).<\/p>\n <p>About the game-<\/p>\n <p>The levels are randomly generated<\/p>\n <p>When you use a light source (flare or camera flash) it takes a moment for your eyes to accustom themselves to the dark once more.<\/p>\n <p>The monster will be stunned if you use the flash on him (I don&#8217;t think my dialogue makes this explicit enough &#8211; the game would just be repeatedly dying to the monster without this information).<\/p>\n <p>Hopefully it will be fun :-). The only line of code I can think of which I haven&#8217;t tested is the displaying of the victory splash screen at the end of the game^_^! Hopefully people will test that for themselves.<\/p>\n <p>&nbsp;<\/p>\n <p>LINK:\u00a0http:\/\/dl.dropbox.com\/u\/19102639\/LD22.zip<\/p>\n <p>&nbsp;<\/p>\n <p>Now for two weeks of playing and judging everyone else&#8217;s games =D!<\/p>","time":"December 18th, 2011 7:36 pm","title":"Phew!"}