{"author_name":"Spiridios","cat":"LD #17 - Islands - 2010","comments":[],"epoch":1272244860,"likes":0,"metadata":{"p_key":"70679","p_author":"Spiridios","p_authorkey":"506801","p_urlkey":"106500","p_title":"First Completed LD!","p_cat":"LD #17 - Islands - 2010","p_event":"LD17","p_time":"1272244860","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"506801","us_name":"Spiridios","us_username":"Spiridios","event_start":"1271980800","event_key":"3","event_name":"LD17"},"text":"<p><a href=\"http:\/\/www.ludumdare.com\/compo\/ludum-dare-17\/?action=preview&amp;uid=1158\">Entry Here<\/a>, <a href=\"http:\/\/www.serilyn.com\/SpiridionLudumDare17\/\">Game Here<\/a> (source currently available by viewing source and grabbing the js and css files.)<\/p>\n <p>This time I tried to write a very simple game after failing with multi-bodied collision response and pixel-perfect collision detection in LD15.<\/p>\n <p>Evil Lair Command is a variation on\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Missile_Command\">Missile Command<\/a> where you defend your volcanic island lair from the likes of 007. Ripe for lots of humor that never made it in (see below).<\/p>\n <p>I decided I really wanted to try HTML5&#8217;s Canvas despite having never worked in it before and not touching\u00a0 javascript since 2007. I prepped myself for this challenge by blitting an image to a Canvas on Thursday.\u00a0 The biggest hurdle (for me) was the fact that an image doesn&#8217;t load immediately upon setting its source. I was rewriting the image handling code up to about 15 minutes before the deadline because the old code was crashing when I added boat spawning. There&#8217;s still a lot of bad code leftover from the old image handling methods, like the initGameState which is now a NOP (thankfully it doesn&#8217;t crash anything and just silently moves on to the next state).<\/p>\n <p>I also lost a lot of time yesterday when I got sick. I ended up sleeping several hours in the afternoon and when I was working I wasn&#8217;t concentrating that well.<\/p>\n <p>Stuff that was planned but didn&#8217;t make it in:<\/p>\n <ul>\n <li>Water texture that I spent more than 3 minutes creating.<\/li>\n <li>Laser graphics.<\/li>\n <li>Explosions.<\/li>\n <li>Minions (lives). Each time a boat hits the island a named minion would be lost protecting the island from a named government agent.<\/li>\n <li>Increasing difficulty as time progresses instead of just throwing a mass of boats at you in the beginning and spawning a new boat at a more-or-less constant rate (it&#8217;s a constant rate that&#8217;s perturbed by a random variation).<\/li>\n <li>Sound effects (including Evil cackles).<\/li>\n <li>Game restart that&#8217;s not triggered by clicking. Because it&#8217;s annoying to be trying to click on a boat just before it &#8220;reaches&#8221; the island, only to find you&#8217;ve started a new game.<\/li>\n <\/ul>\n <p>Oh well, I have all the time in the world to add those features now. =p If I do, I&#8217;ll probably post a link to it from the <a href=\"http:\/\/www.serilyn.com\/SpiridionLudumDare17\/\">Game Site<\/a>, leaving the LD17 entry where it&#8217;s at for judging.<\/p>\n <p>&#8211; Micah<\/p>","time":"April 25th, 2010 8:21 pm","title":"First Completed LD!"}