ParallaxWhen I first started dabbling in After Effects and Flash several years ago, the first videos I made were simple animations (think cave drawings.) Not really knowing anything about layers or expressions made for interesting results when I tried to achieve the parallax effect -- the illusion that objects move more quickly or slowly depending on how far away they are. Mikey Borup shares a tutorial that makes parallax scrolling a little bit easier. Continue on to watch the video:


Parallax scrolling is used a lot in video games, but can also be used in animation and other media. Essentially what this does is gives the illusion of depth using the parallax effect. There are several methods to achieve this, but Borup utilizes a semi-simple layering process in After Effects that slides each layer at different speeds across the frame.

If you're in need of a continuous background, or are creating a flat, two-dimensional animation that doesn't travel along the z-axis, this tutorial is pretty cut and dry and gives you the exact answers you're going to need in order to create it.

Now, using expressions in After Effects is an entire study by itself, let alone how to use them in this one instance. The main point of this tutorial, though, according to Borup, is the expression (as seen at 6:00):

spread=index*10*thisComp.layer("Control"­).effect("Slider Control")("Slider");

[transform.position[0]-spread,transform.­position[1]];

Like I said, this is typically used for video games, but at least 3 or 4 of my early animations utilize this effect (poorly,) and if I had this knowledge of this nifty little expression earlier, maybe I wouldn't have had to spent hours and hours creating and perfecting keyframes.

What do you think? How often do you use parallax scrolling in your work? Did using this expression make things easier for you?

[via Mikey Borupwolfcrow]