{"id":2,"date":"2003-07-07T23:06:12","date_gmt":"2003-07-08T06:06:12","guid":{"rendered":"http:\/\/newsfeed.fatorcaos.com.br\/wp\/?p=2"},"modified":"2006-09-13T12:38:25","modified_gmt":"2006-09-13T19:38:25","slug":"impressive-mode-7-emulation","status":"publish","type":"post","link":"https:\/\/labs.zeh.com.br\/blog\/?p=2","title":{"rendered":"Impressive mode 7 emulation"},"content":{"rendered":"<p>Someone called &#8220;PercyPea&#8221; created <a href=\"http:\/\/www.flashkit.com\/board\/showthread.php?s=oos_rocks&#038;threadid=465420\">a thread on the FlashKit forums<\/a> to show off <a href=\"http:\/\/www.pargames.co.uk\/mariokart.html\">his MarioKart-style Flash engine<\/a> &#8211; basically, a recreation of the classic SNES trick known as <a href=\"http:\/\/www.taswegian.com\/TwoHeaded\/mode7.html\">mode 7<\/a>. It&#8217;s mainly a floor texture emulation.<\/p>\n<p>What&#8217;s impressive about this, though, is that he has achived a pretty impressive speed with a near-perfect visual result. The technique involved is so ingenuous and simple that it almost hurts; similarly to what I&#8217;ve done sometime ago on <a href=\"http:\/\/www.fatorcaos.com.br?l=flash\/testes\/vr6\">a QuickTime VR emulation<\/a> movie, the Flash movie has several movieclips, each one cointaining a line of the map, and each one resized to a different scale. Then he simply moves or resizes the map image inside of each stripe, and achieves the mode 7 effect without too much hassle (just a resolution loss depending on the size of the stripes).<\/p>\n<p>There also very good examples on the thread: like <a href=\"http:\/\/www.nlc.net.au\/~oceana\/games\/rc.htm\">this one<\/a> or <a href=\"http:\/\/hem.passagen.se\/strille\/works\/misc\/z_mapping\/z_mapping.html\">this one<\/a> (which evolved into <a href=\"http:\/\/www.nlc.net.au\/~oceana\/games\/z_mapping.html\">this<\/a> &#8212; pretty insane) or <a href=\"http:\/\/www.4t2.co.uk\/portfolio.php?act=popup&#038;portfoliotag=P3F02F60CAFFCA\">this one<\/a> (Final Fantasy maps anyone?), all of&#8217;em using similar techniques.<\/p>\n<p>Seeing these examples made me jump from my chair, in fact: I&#8217;ve tried to do <a href=\"http:\/\/www.fatorcaos.com.br?l=flash\/testes\/enduro\">a similar thing<\/a> sometime ago, but I tried creating a plain scrolling race circuit and it didn&#8217;t work so well. Sometimes you really can&#8217;t help but be impressed by clever and clean solutions to something you&#8217;ve tried before.<\/p>\n<p><small>Source: <a href=\"http:\/\/oos.moxiecode.com\/\">OutsideOfSociety<\/a><\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Someone called &#8220;PercyPea&#8221; created a thread on the FlashKit forums to show off his MarioKart-style Flash engine &#8211; basically, a recreation of the classic SNES trick known as mode 7. It&#8217;s mainly a floor texture emulation. What&#8217;s impressive about this, though, is that he has achived a pretty impressive speed with a near-perfect visual result. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[17,2,3],"tags":[],"_links":{"self":[{"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2"}],"collection":[{"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2"}],"version-history":[{"count":0,"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2\/revisions"}],"wp:attachment":[{"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labs.zeh.com.br\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}