{"author_name":"Gutter","cat":"LD #19 - Discovery - 2010","comments":[],"epoch":1292689260,"likes":0,"metadata":{"p_key":"68283","p_author":"Gutter","p_authorkey":"510075","p_urlkey":"104086","p_title":"Working on lights","p_cat":"LD #19 - Discovery - 2010","p_event":"LD19","p_time":"1292689260","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"510075","us_name":"Gutter","us_username":"Gutter","event_start":"1292544000","event_key":"5","event_name":"LD19"},"text":"<p>There are so many &#8220;2D maps with light&#8221; posts that I am beginning to think that I am out of my league. Everyone seems to know how to do it!<\/p>\n <p>I have been using the last few hours to try and implement this :<\/p>\n <p><a href=\"http:\/\/roguebasin.roguelikedevelopment.org\/index.php?title=Digital_field_of_view_implementation\">http:\/\/roguebasin.roguelikedevelopment.org\/index.php?title=Digital_field_of_view_implementation<\/a><\/p>\n <p>I never played with lightning in a tiled game, despite having made a lot of tile based games, so I picked this implementation. It seems to work :<\/p>\n <div id=\"attachment_33970\" style=\"width: 560px\" class=\"wp-caption alignnone\"><a rel=\"attachment wp-att-33970\" href=\"http:\/\/www.ludumdare.com\/compo\/2010\/12\/18\/working-on-lights\/progress4hours\/\"><img class=\"size-large wp-image-33970\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2010\/12\/Progress4hours-550x399.png\" alt=\"Progress after 4 hours\" width=\"550\" height=\"399\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2010\/12\/Progress4hours-550x399.png 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2010\/12\/Progress4hours.png 662w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/a><p class=\"wp-caption-text\">Not bad for a couple of hours... I think?<\/p><\/div>\n <p>The game will be graphical, using XNA, but console is always better when trying to understand an algorithm IMHO. Next post should have it with some gfx tiles in a non-console mode.<\/p>\n <p>Edit : I should have removed the scrollbar from that shoot<\/p>","time":"December 18th, 2010 11:21 am","title":"Working on lights"}