{"id":204,"date":"2010-04-07T15:39:39","date_gmt":"2010-04-07T09:39:39","guid":{"rendered":"http:\/\/superflatgames.com\/wordpress\/?p=204"},"modified":"2011-08-27T10:44:08","modified_gmt":"2011-08-27T09:44:08","slug":"a-pixel-bender-stress-test","status":"publish","type":"post","link":"http:\/\/superflatgames.com\/wordpress\/?p=204","title":{"rendered":"A Pixel Bender Stress-Test"},"content":{"rendered":"<p style=\"text-align: center;\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter\" src=\"http:\/\/www.superflatgames.com\/LS.png\" alt=\"\" width=\"640\" height=\"480\" \/><\/p>\n<p><strong>Lone Survivor v0.2 &#8211; <a href=\"http:\/\/www.superflatgames.com\/LoneSurvivor_v0-2.swf\">[Play Online]<\/a><\/strong><br \/>\n<strong>NOTE:<\/strong> <em>It&#8217;s recommended you have no other Flash windows running to see good performance.<\/em><\/p>\n<p>So, just say I was going to re-build my survival horror engine (as seen in <a title=\"Soundless Mountain II\" href=\"http:\/\/superflatgames.com\/wordpress\/?page_id=139\">Soundless Mountain II<\/a>) in Flash&#8230;<\/p>\n<p>To re-create the lighting \/ fog \/ film-grain effects, I&#8217;d probably need to harness the power of Flash 10.0&#8217;s all new &#8216;Pixel Bender&#8217; tech.  This is like having programmable PS3-style shaders at your disposal.  At the moment it runs in software, but it&#8217;s still faster than pure Actionscript 3 (Flash language).<\/p>\n<p>From the research I&#8217;ve done on the net, no-one&#8217;s combined this tech with pixel art as yet (partly because it&#8217;s fiddly to set up I think, and it&#8217;s so new) &#8211; so let me know how it runs for you.<\/p>\n<p>Press A\/Z to move the secondary lights.  Press Left \/ Right to move your player &#8211; there&#8217;s no walk cycle yet though!<\/p>\n<p>The reason I&#8217;m posting is that I&#8217;d love to know what framerate you&#8217;re seeing, and your specs &#8211; press the &#8216;|&#8217; key or the &#8216;\u00ac&#8217; depending on your machine to bring up the console and see your framerate.<\/p>\n<p>Thanks in advance!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lone Survivor v0.2 &#8211; [Play Online] NOTE: It&#8217;s recommended you have no other Flash windows running to see good performance. So, just say I was going to re-build my survival horror engine (as seen in Soundless Mountain II) in Flash&#8230; To re-create the lighting \/ fog \/ film-grain effects, I&#8217;d probably need to harness the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[50],"_links":{"self":[{"href":"http:\/\/superflatgames.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/204"}],"collection":[{"href":"http:\/\/superflatgames.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/superflatgames.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/superflatgames.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/superflatgames.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=204"}],"version-history":[{"count":10,"href":"http:\/\/superflatgames.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/204\/revisions"}],"predecessor-version":[{"id":270,"href":"http:\/\/superflatgames.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/204\/revisions\/270"}],"wp:attachment":[{"href":"http:\/\/superflatgames.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/superflatgames.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=204"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/superflatgames.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}