{"author_name":"Frimkron","cat":"LD #13 - Roads - 2008","comments":[],"epoch":1228594740,"likes":0,"metadata":{"p_key":"74334","p_author":"Frimkron","p_authorkey":"158","p_urlkey":"110166","p_title":"End of Day 1","p_cat":"LD #13 - Roads - 2008","p_event":"LD13","p_time":"1228594740","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"158","us_name":"Frimkron","us_username":"frimkron","event_start":"1228435200","event_key":"92","event_name":"LD13"},"text":"<p>Well I&#8217;m going to call it a day and pick things up again tomorrow. I&#8217;m way behind but I know exactly what I&#8217;ve got to get cracking on with tomorrow morning. Here&#8217;s a shot of the current version:<\/p>\n <p><img src=\"http:\/\/www.markfrim.co.uk\/images\/ludum13\/shot2.png\" alt=\"\" \/><\/p>\n <p>There are some pavement tiles now! The reason its taking so long is because I had a crazy idea to generate a tile-based city procedurally on the fly, so currently my time is taken up with getting that to work. Here&#8217;s one of the many debug image dumps I&#8217;ve made of the tile map:<\/p>\n <p><img src=\"http:\/\/www.markfrim.co.uk\/images\/ludum13\/map_dump.png\" alt=\"\" \/><\/p>\n <p>Its actually just a snapshot of part of the map, which is technically infinite in size. Each pixel is a 4&#215;4 block of tiles. As you\u00a0 can see, all I&#8217;m generating procedurally so far is the fact that there&#8217;s more pavement the closer to the centre of the city you get. There aren&#8217;t any roads yet (note to self: must actually get the damn ROADS in at some point&#8230;). The red and yellow pixels in a grid which you might just be able to make out &#8211; they&#8217;re marking the areas that the map is broken up into. The idea is that the game only needs to hold the player&#8217;s current area and the 8 surrounding areas in memory at the same time, allowing me\u00a0 to have an infinite map.<\/p>\n <p>So, on tomorrow I&#8217;ve got my work cut out for me. Procedural roads&#8230; collisions&#8230; <em>traffic?!<\/em>&#8230; I may have to revise my plan if I&#8217;m going to get something finished on time.<\/p>\n <p>By the way, the other entries are looking totally awesome. I can&#8217;t wait to play them all!<\/p>","time":"December 6th, 2008 3:19 pm","title":"End of Day 1"}