{"id":207,"date":"2012-03-24T18:33:56","date_gmt":"2012-03-24T18:33:56","guid":{"rendered":"http:\/\/mbackler.wordpress.com\/?p=207"},"modified":"2012-03-24T18:33:56","modified_gmt":"2012-03-24T18:33:56","slug":"frankie-say-parallax","status":"publish","type":"post","link":"https:\/\/www.markbackler.com\/?p=207","title":{"rendered":"Frankie Say Parallax"},"content":{"rendered":"<p>Parallaxing is something I&#8217;ve been after doing for a while &#8211; because it looks awesome!<\/p>\n<p>I moved the different planes using the Translate function:\u00a0<a href=\"http:\/\/unity3d.com\/support\/documentation\/ScriptReference\/Transform.Translate.html\">http:\/\/unity3d.com\/support\/documentation\/ScriptReference\/Transform.Translate.html<\/a><\/p>\n<p>All you need to do is set different speeds for each section.<\/p>\n<p>These are good examples of effective parallaxing:\u00a0<a href=\"http:\/\/www.youtube.com\/watch?v=sLNQU5nfQvQ\">http:\/\/www.youtube.com\/watch?v=sLNQU5nfQvQ<\/a><\/p>\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=HXREh5hacV0\">http:\/\/www.youtube.com\/watch?v=HXREh5hacV0<\/a><\/p>\n<p>I&#8217;ll have to try and upload a video of it working on Dream Swing. Getting this done helped me to figure out the scale of the world &#8211; I don&#8217;t want a big piece of landscape moving in the background &#8211; it should be small things like bits of grass etc and the spider should roughly to scale &#8211; previously I had a tree that was way out of scale.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Parallaxing is something I&#8217;ve been after doing for a while &#8211; because it looks awesome! I moved the different planes using the Translate function:\u00a0http:\/\/unity3d.com\/support\/documentation\/ScriptReference\/Transform.Translate.html All you need to do is set different speeds for each section. These are good examples of effective parallaxing:\u00a0http:\/\/www.youtube.com\/watch?v=sLNQU5nfQvQ http:\/\/www.youtube.com\/watch?v=HXREh5hacV0 I&#8217;ll have to try and upload a video of it working [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,19,22],"tags":[],"class_list":["post-207","post","type-post","status-publish","format-standard","hentry","category-camera-movement","category-movement","category-parallaxing"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.markbackler.com\/index.php?rest_route=\/wp\/v2\/posts\/207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.markbackler.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.markbackler.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.markbackler.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.markbackler.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=207"}],"version-history":[{"count":0,"href":"https:\/\/www.markbackler.com\/index.php?rest_route=\/wp\/v2\/posts\/207\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.markbackler.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.markbackler.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.markbackler.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}