{"author_name":"erik","cat":"LD #13 - Roads - 2008","comments":[],"epoch":1228626540,"likes":0,"metadata":{"p_key":"74306","p_author":"erik","p_authorkey":"59","p_urlkey":"110138","p_title":"Progress, or lack thereof","p_cat":"LD #13 - Roads - 2008","p_event":"LD13","p_time":"1228626540","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"59","us_name":"erik","us_username":"erik","event_start":"1228435200","event_key":"92","event_name":"LD13"},"text":"<p>I&#8217;ve spent a lot of time today fighting with buggy path finding.\u00a0 The code is supposed to find the shortest path from any road tile to the city.\u00a0 It&#8217;s mostly working, but it occasionally produces incorrect results when there are loops in the graph.\u00a0 Frustrating.\u00a0 I haven&#8217;t implemented any game play yet because I&#8217;ve been trying to get this right.\u00a0 In the future I think I will need to take a more planned approach to this sort of thing, and work out my algorithm in advance instead of just hacking together the first idea that comes to mind.\u00a0 Either that or modify my game play idea so it doesn&#8217;t require any path finding more advanced than a flood fill.<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2008\/12\/buggypathsscreenshot.png\"><img class=\"alignnone size-medium wp-image-3978\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2008\/12\/buggypathsscreenshot-300x179.png\" alt=\"\" width=\"300\" height=\"179\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2008\/12\/buggypathsscreenshot-300x179.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2008\/12\/buggypathsscreenshot.png 815w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n <p>Dinner this evening involved hors d&#8217;oeuvres at a Christmas party.\u00a0 There always seems to be something else going on during LD48 weekends.<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2008\/12\/partydinner.jpg\"><img class=\"alignnone size-medium wp-image-3979\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2008\/12\/partydinner-225x300.jpg\" alt=\"\" width=\"225\" height=\"300\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2008\/12\/partydinner-225x300.jpg 225w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2008\/12\/partydinner.jpg 600w\" sizes=\"(max-width: 225px) 100vw, 225px\" \/><\/a><\/p>\n <p>Taking a picture of my food in the middle of a crowded room in a formal setting was a bit weird.<\/p>\n \n <p>Tags: <a href=\"http:\/\/ludumdare.com\/compo\/tag\/foodphoto\/\" rel=\"tag\">foodphoto<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/screenshot\/\" rel=\"tag\">screenshot<\/a><\/p>","time":"December 7th, 2008 12:09 am","title":"Progress, or lack thereof"}