{"id":159,"date":"2019-12-19T21:01:51","date_gmt":"2019-12-19T21:01:51","guid":{"rendered":"http:\/\/www.missionctrlgames.com\/?p=159"},"modified":"2019-12-19T21:01:51","modified_gmt":"2019-12-19T21:01:51","slug":"darkness","status":"publish","type":"post","link":"http:\/\/www.missionctrlgames.com\/?p=159","title":{"rendered":"Darkness"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Been a while since my last update and a lot has happened. For now I&#8217;m going to discuss the recent addition of a lighting system to Tomb Toad.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here&#8217;s a video of it in action:<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"1136\" style=\"aspect-ratio: 640 \/ 1136;\" width=\"640\" controls src=\"http:\/\/www.missionctrlgames.com\/home\/wp-content\/uploads\/2019\/12\/darkness.mov\"><\/video><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The dithering is an extra layer of tiles drawn on top of everything else. The lighting itself is a simple linear distance falloff.  Here&#8217;s an illustration of how the various layers are stacked:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"927\" height=\"1024\" src=\"http:\/\/www.missionctrlgames.com\/home\/wp-content\/uploads\/2019\/12\/darknessLayers-1-927x1024.jpg\" alt=\"\" class=\"wp-image-162\" srcset=\"http:\/\/www.missionctrlgames.com\/home\/wp-content\/uploads\/2019\/12\/darknessLayers-1-927x1024.jpg 927w, http:\/\/www.missionctrlgames.com\/home\/wp-content\/uploads\/2019\/12\/darknessLayers-1-272x300.jpg 272w, http:\/\/www.missionctrlgames.com\/home\/wp-content\/uploads\/2019\/12\/darknessLayers-1-768x848.jpg 768w, http:\/\/www.missionctrlgames.com\/home\/wp-content\/uploads\/2019\/12\/darknessLayers-1.jpg 1200w\" sizes=\"auto, (max-width: 927px) 100vw, 927px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Been a while since my last update and a lot has happened. For now I&#8217;m going to discuss the recent addition of a lighting system to Tomb Toad. Here&#8217;s a video of it in action: The dithering is an extra layer of tiles drawn on top of everything else. The lighting itself is a simple <a class=\"read-more\" href=\"http:\/\/www.missionctrlgames.com\/?p=159\">&hellip;&nbsp;<span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-159","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.missionctrlgames.com\/index.php?rest_route=\/wp\/v2\/posts\/159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.missionctrlgames.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.missionctrlgames.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.missionctrlgames.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.missionctrlgames.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=159"}],"version-history":[{"count":1,"href":"http:\/\/www.missionctrlgames.com\/index.php?rest_route=\/wp\/v2\/posts\/159\/revisions"}],"predecessor-version":[{"id":163,"href":"http:\/\/www.missionctrlgames.com\/index.php?rest_route=\/wp\/v2\/posts\/159\/revisions\/163"}],"wp:attachment":[{"href":"http:\/\/www.missionctrlgames.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.missionctrlgames.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=159"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.missionctrlgames.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}