{"author_name":"Spiridios","cat":"LD  #18 - Enemies as Weapons - 2010","comments":[],"epoch":1282521240,"likes":0,"metadata":{"p_key":"69377","p_author":"Spiridios","p_authorkey":"506801","p_urlkey":"105180","p_title":"Foiled","p_cat":"LD  #18 - Enemies as Weapons - 2010","p_event":"LD18","p_time":"1282521240","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"506801","us_name":"Spiridios","us_username":"Spiridios","event_start":"1282262400","event_key":"4","event_name":"LD18"},"text":"<div id=\"attachment_26291\" style=\"width: 560px\" class=\"wp-caption alignnone\"><img src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2010\/08\/GiveUp-550x447.jpg\" alt=\"Conga Line\" width=\"550\" height=\"447\" class=\"size-large wp-image-26291\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2010\/08\/GiveUp-300x244.jpg 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2010\/08\/GiveUp-550x447.jpg 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2010\/08\/GiveUp.jpg 1017w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><p class=\"wp-caption-text\">Conga Line<\/p><\/div>\n <p>It&#8217;s hard to give up after working so hard, but there&#8217;s no way to get a working game in 5 minutes from what I have. The Javascript A* I nabbed off the web performs way too slowly (it does a linear search through the arrays storing open and closed nodes). If I just put a moderate blockade in place so the enemies have to path about 5 extra steps out of their way, the A* implementation takes somewhere from 1-2 seconds in firefox. Chrome is better at about .5 seconds, but still not playable. With that big a delay, the enemies overshoot their target tiles and have to backup, creating a nice conga line. Even if I managed to have a decent A*, I still didn&#8217;t get zombie infection implemented, so there still isn&#8217;t any gameplay.<\/p>\n <p>I may try to get in on the jam, but with work tomorrow that only gives me a couple extra hours.<\/p>","time":"August 22nd, 2010 6:54 pm","title":"Foiled"}