Hey, I'm Hunter from Skillthrive and in
this tutorial you'll learn how to create
this parallax image gallery in
After Effects. Before we get started, make
sure you download the course files by
becoming a free member on Skillthrive.com.
Not only will you get instant access to
today's course, but you'll also get
instant access to all of our current
courses, which include After Effects,
Photoshop, Sketch App, and Lightroom. Plus, we have a lot more coming, so stay tuned
for those courses as well! With that
said, let's go ahead and jump into After
Effects and get started. Once you're
in After Effects, go ahead and click on
New Composition and go ahead and create
your first composition here and name it
scene 1. I'm going to set the width to 1920, the height to 1080, the framerate to 30,
and the duration to 8 seconds. Then
click OK. The first thing I'm going to do
is create the 5 compositions that are
going to hold the images that we're
going to use in this tutorial. With that said, go ahead and Command-N
to create a new composition and
go ahead and name this one story one.
On this one, I'm going to set the height
to 1080 and the width to 1080 as well.
Then the frame rate and duration,
leave those both at 30 frames and 8 seconds.
Go ahead and click OK.
Then Command-N again to create the
story two. On this one, I'm going to set the
width to 1680 and leave the height at
1080, then click OK. For story three, I'm going to come up to story one
in the project panel, Command-C,
Command-V. You can see that it has
duplicated this with the same settings,
but now it's its own composition as well.
Then for story four, Command-N again. On this one, set it to 1920 by 1080,
and then click OK. Then in
story four, I'm going to command-C, Command-V
to duplicate that because story five is
1920 by 1080 as well.
Now what we can do is go ahead
and select story one through five, make
sure that we're in our scene one 
composition, and go ahead
and drag these five compositions into this.
While these are all selected, I'm going to go
ahead and hit S on the keyboard to
switch to the scale tool, and then change
this to fifty. Now you can see all of
these compositions here have been
changed to fifty. That will make a
lot more sense here once we go ahead and
fill the compositions with the images so
you can see what's going on here. You can see that we have story one,
two, and four open, so we need to
highlight three and five. I'm going to
double-click those and just move three
over and then come back into story one.
I include some images here that you
can use to follow along with me today,
but feel free to use your own images,
just know that the settings for the
position and scale are going to be a little bit
different depending on the
images you use. So if you want to follow
along exactly as I do in today's
tutorial, make sure you download the
course files. Let's go ahead and
select all of these. I'll drag them into
my project here and then on this image
one, go ahead and just drag this in. I
have some settings here that I'm going
to set this to. With S, I'm going to bring
up the scale and set this to 36. Hit P to
bring up position. I'm going set this to
630, and my next one I'm going to set to
510. Then I want to add a keyframe here,
move to the end of my composition
at 8 seconds, then I'm going to add this to
730. That's it–it's a really
subtle movement to the right. Now we can come into story two.
I can bring in my second image here. On this one, I'm going to have a
zoom out effect, but first let's go ahead
and set the initial scale
to 35. I'm going to set a keyframe,
move this all the way over, and then set
this one to 30. That's all we're doing
for that one–a nice little zoom out effect.
Story three, we can use image 3. Hit S to
bring up the scale. I'm going to set
this to a scale of 32. Then hit P, and I'm
going to move this over to 875 and keep
the Y value at 540. Set a keyframe here.
Then I'm going to scoot all the way over
to 8 seconds and then change this to 775. That's going to move to the left.
Then move into story four, set the
scale for this one to 37. Set the initial
position to–960 and 540 will
actually do just fine.
Let's go ahead and set that, move over to 8 seconds, and on this one we're changing
the Y value. Let's go ahead and set
that to 440 so it moves up. You can see
this moves up–super simple, linear
movement, but it's going to give a really
cool parallax effect once we actually
get all these into the scene one.
Lastly, is story five. Bring that in. This
is going to be a scale as well, so I'm
going to set the initial scale here to 89,
set a keyframe, and then move to the end
and set a new keyframe for 94. There we go. If we come back into
scene one, we can go ahead and just close out the rest of these because we don't
need those anymore. You can see that we
have all the compositions here for the stories.
What we need to do now is go
ahead and position these into our
composition. I'm going to go ahead and select all of these, hit P to bring
up the position, then I'm going to focus on story one.
Story one I have set to a
position of 270 and 270. I went
ahead and saved you guys some time and
went through all of these manually.
I would zoom into the corner here and
then set the pixels so they were right on the edge.
That's saving you guys some time–you guys can just go ahead and set
these positions so you guys have them in
the correct spots. Then on story two,
the position that I have here is 960 and
270. On story three, I have 1650 and 270.
On four, I have 480 and 810. On story five, I have 1440 by 810. Alright, let's go
ahead and zoom in and double-check these. Everything looks nice, awesome!
Now if we go ahead and just
play through this–I'm going to set the
resolution to half so it renders
faster–you can see that it's really
subtle. The movement on the
images give it a nice, really cool effect.
What we're going to do now is focus
initially on this image and then zoom
out about three seconds so you can see all five of the images. In order to get that effect,
what we're going to do is use a
null object, animate the null object by
parenting all the these five
compositions to that null object, and it's
going to give us a cool zoom out
effect. With that said, let's go ahead and do just that.
The first thing I want to do is come up
to Layer, New, and then Null Object.
I'm going to move this one to the top and go ahead and to select these five
compositions here. Under this parent,
change it to null one.
I'm going to rename this to zoom
control, and then with the zoom control
selected I'm going to come up to this
tool here that I have called Reposition
Anchor Point. I'm going to include
this in the course files, but it's a
pay-what-you-want resource that you can use. I use it in a lot
of my videos in order to reposition
the anchor points. If we zoom in here
for instance, you can see that the anchor
point now is set to this top left corner.
If I have this center one select and
click reposition, you'll see that this
now moves. The reason I'm doing that
is because I'm using the settings that I
did for this original project, so it's
just a copy and paste from that one to
this one. We want it to initially be focused on this,
so go ahead and just expand this zoom
control. Actually, just go ahead and hit P for
position. We want to set the first one
here to a position of 100 and then 100.
Then a scale of 200. If we zoom
out, you can see that this whole image
is now in focus. I wanted to be
on this image for about three seconds, so
if you come into the three-second mark
here, we can set a scale property.
Then hit P and hit this time watch as well to make a keyframe. Then hit U and
it'll bring up this position and the
scale because these are the ones that
were editing. What I want to do is set a
scale here to 100 and then set the
position here to 110 by 590. You can
see right now the motion is linear and
it's not very catchy, but you can see
that
that zoom-out effect that we get. Because this is linear, let's go ahead
and just select these two keyframes. We
can right-click and do an easy ease.
Then we can come to each one individually and come into the graph editor and just
make this a little bit more kinetic. Do
the same for this one. Now, if we play
this through, we get this nice snappy
zoom out effect. The next thing I want to
do in this tutorial is create a couple
solid layers that are going to act as
a transition for this scene. To do
that, what we can do is come up to Layer,
New, and then Solid. We can name this
solid something like color swipe one.
I have the width to 1920 the height to 1080, and don't worry so much about the color right now.
Then click OK. I'm going to
get out of my graph editor here, and if
we come over to this folder in our project panel
and expand it, you'll see that this color
swipe has been created. What I'm going to
do now is command C command V twice to create color swipe two and three.
Go ahead and drag those into my solid
folder. Then I can go ahead and
select two and three and drag those into
my composition. Then I can come in
and just go ahead and move color swipe
one above two. I want this to finish
animating about eight seconds in, but
right now let's go ahead and select all
three of these  and hit P on our keyboard to bring up the position tool. While I
hold shift, I want to go ahead and move all these out the way.
This is going to be the initial starting
position. I want these to come in
somewhere around seven seconds, so let's go ahead and come in about seven seconds
here and I'm just going to work on color
swipe one for now. I'm going to go ahead
and set the position here and come in
to about–let's not do a full second–
let's do 20 key frames. Then hold shift and move this out
to the left until it's out of the scene. Then I'm going to come in and adjust
this so the motion is not linear–it's a
little more kinetic. Let's go ahead
and come in and change this to an
easy ease. Let's go ahead and see what
that looks like. Let's come into our graph
editor and I want it to start off a little bit slower.
Towards the end, I want it to go out
faster, so let's go ahead and just watch
this and see what this motion looks like.
Let's go ahead now and move
these keyframes in just a little bit.
Go ahead and watch that again. I think
that looks good. What we can do is
go ahead and copy these keyframes I want, move to the position of this first one,
select color swipe two and three, and then command V to paste those in.
Right now, you can't see these individually because they're the
same color, but what we're going to do is offset these by a couple keyframes.
On color swipe two, we can offset this
by two keyframes, so select these
keyframes and move the first one here. Go two more and then we can move color swipe one over.
Now what we can do is come in
to each color swipe and change the fill color.
To do that, I'm going to come
into the effects and presets. If you
don't see this, it's going to be under
Window, Effects and Presets.
Then I'm going to type in fill and then drop this fill on to color swipe one.
You can see that this color here is now
generated for us. If we play this,
you'll see that we have this new color. We can see the second
and third ones starting to animate as
well. So go ahead and do the same
thing for color swipe two and three. Now we can come into each color swipe
and change the colors that we
want. I'm actually going to use the
eyedropper tool and just pick colors
from this image. Maybe one
of the blues here. Then come into
color swipe two and pick her
green shirt. For color swipe three, I
can do this color here on this camera.
If you play this through, you'll see
that you get this cool lagging
effect because we offset those keyframes.
Let's go ahead and play that
through. The last thing we're
going to do is when this fully covers
the project, we need to go ahead and
make sure that these stories are ending.
So go ahead and select these and
then move this endpoint to a point right
here. Now when these come through,
there won't be anything here, therefore
showing whatever the next scene is.
If we wanted to duplicate scene one and
create scene two and use different
images, it will automatically transition
smoothly into that scene.
That's it–your projects now ready for export! Congrats on finishing the course.
If you liked it give, it a thumbs up and please subscribe! And don't forget, you can still
download the course files as well as the
template that I created today if you
become a free member on Skillthrive.com. There's a link in the description where
you can join. Again, I'm Hunter from Skillthrive and I'll see you in the next one!
