Return to Video

Timeline Advanced Mode Overview - Google Web Designer

  • 0:04 - 0:06
    Hello, I'm Natalie,
    one of the engineers that helps
  • 0:07 - 0:08
    build Google Web Designer.
  • 0:08 - 0:09
    This video is a
  • 0:09 - 0:11
    walkthrough of how to
    create animations using
  • 0:11 - 0:13
    the advanced mode timeline.
  • 0:14 - 0:17
    The Timeline panel is located
    at the bottom
  • 0:17 - 0:18
    of the workspace by default.
  • 0:18 - 0:20
    This is one of two
    timeline tools.
  • 0:20 - 0:22
    The other one
    being the Quick mode timeline.
  • 0:22 - 0:25
    Many files will open by
    default in Quick mode
  • 0:25 - 0:27
    and you can toggle between
    them using this button
  • 0:27 - 0:28
    in the top-right corner.
  • 0:28 - 0:31
    So this is Quick mode, and
    this is Advanced mode.
  • 0:31 - 0:33
    We have a separate tutorial
    for Quick mode
  • 0:33 - 0:36
    and this one will just focus
    on Advanced mode, which
  • 0:36 - 0:38
    is the more complex but
    more powerful
  • 0:38 - 0:39
    of the two tools.
  • 0:40 - 0:43
    As a tutorial exercise, I've got
    this short little animated ad
  • 0:44 - 0:47
    which has a sliding
    image, two text boxes
  • 0:47 - 0:49
    that fade in and out, and
    a logo at the end.
  • 0:50 - 0:52
    In this video, we'll
    see how to build this
  • 0:52 - 0:53
    ad in Google Web Designer.
  • 0:55 - 0:57
    So let's do that
    sliding image animation first.
  • 0:57 - 1:00
    The first step would
    be to drag it on stage
  • 1:02 - 1:03
    and position it
    how we want
  • 1:03 - 1:05
    at the
    start of the animation.
  • 1:05 - 1:06
    So right there.
  • 1:06 - 1:08
    And later on,
    it'll slide over like so.
  • 1:11 - 1:14
    And you can see this
    track appeared in the timeline.
  • 1:14 - 1:15
    This is a timeline
    layer, and this
  • 1:15 - 1:18
    is the UI in which we'll
    lay out the animation
  • 1:18 - 1:20
    for this object over time.
  • 1:21 - 1:23
    The basic idea behind
    creating animations
  • 1:23 - 1:24
    is to define keyframes
  • 1:24 - 1:28
    which are waypoints in time where an
    element has specific property values
  • 1:28 - 1:30
    and then defining how
    and how long the transition
  • 1:30 - 1:31
    between those values.
  • 1:32 - 1:35
    So to make this image slide,
    we'll make several keyframes.
  • 1:36 - 1:38
    We want it to hold in
    place for about a second.
  • 1:38 - 1:40
    So I'll place the
    keyframe at one second
  • 1:40 - 1:43
    by right-clicking and selecting
    Insert keyframe, then one more
  • 1:43 - 1:44
    half a second later.
  • 1:45 - 1:47
    And then, at this
    keyframe, I'm going
  • 1:47 - 1:49
    to slide the image
    to where I want
  • 1:49 - 1:50
    it at this in time.
  • 1:51 - 1:54
    Then I want this image to hold
    in place for another second.
  • 1:54 - 1:56
    And then finally,
    half a second later,
  • 1:57 - 1:58
    I want it to slide out
    of view.
  • 2:01 - 2:03
    So now, dragging the Playhead,
    scrubs the timeline
  • 2:03 - 2:06
    and you get a preview
    for your animation.
  • 2:06 - 2:09
    And you can also press the Play
    button in the left-hand corner
  • 2:09 - 2:11
    here to get a preview
    right on stage.
  • 2:14 - 2:15
    That looks good.
  • 2:16 - 2:17
    And the next thing,
  • 2:17 - 2:19
    we saw in the finished piece
    that the image
  • 2:19 - 2:22
    fades in at the very
    beginning in addition to
  • 2:22 - 2:23
    sliding over later.
  • 2:23 - 2:25
    So let's do that
    fade animation next.
  • 2:29 - 2:32
    I'm going to select all the
    keyframes using the Marquee
  • 2:32 - 2:33
    tool and slide it
    to make room
  • 2:33 - 2:36
    for the fade-in at the
    very end and insert
  • 2:36 - 2:38
    a new keyframe at time zero.
  • 2:38 - 2:42
    And, at this keyframe, we'd
    like for the element's opacity
  • 2:43 - 2:44
    to be zero.
  • 2:49 - 2:53
    And at all the other keyframes,
    we'd like it to be at 100%.
  • 3:02 - 3:03
    Next, let's add the text.
  • 3:03 - 3:06
    So, as we saw, there
    were two text boxes.
  • 3:07 - 3:12
    They faded in one after
    the other, as the image slides.
  • 3:12 - 3:14
    So, let's create
    the first text box.
  • 3:32 - 3:35
    So the first text box
    should fade in, then
  • 3:35 - 3:38
    stay in place over this
    period here, and then
  • 3:38 - 3:40
    fade out as the image slides.
  • 3:40 - 3:41
    The first thing is
    to zero out
  • 3:41 - 3:44
    the opacity on this box -
    that's the starting state.
  • 3:46 - 3:48
    Then we can create a
    keyframe at half a second.
  • 3:50 - 3:52
    Set the opacity to 100%.
  • 3:52 - 3:55
    At a second and a half, we
    want it to still be 100%.
  • 3:55 - 3:58
    And then, at two seconds,
    we want it to be 0% again.
  • 3:58 - 4:00
    One thing you can do
    is insert a keyframe,
  • 4:00 - 4:02
    much like we've done before.
  • 4:02 - 4:05
    But you can also take advantage
    of keyframe duplication.
  • 4:05 - 4:09
    If you hold Alt, you can
    create a clone of a keyframe
  • 4:09 - 4:10
    and drag it to a different time.
  • 4:11 - 4:13
    This can save you some
    time with some animations.
  • 4:15 - 4:18
    And let's add the last one
    where the box fades out completely.
  • 4:19 - 4:21
    You can take a preview now.
  • 4:23 - 4:24
    Perfect. OK.
  • 4:25 - 4:28
    And the second text box is
    actually pretty much identical
  • 4:28 - 4:30
    to the first text box,
    just the text is different.
  • 4:30 - 4:33
    It comes in after the
    first one's faded out.
  • 4:33 - 4:35
    So I'm going to save
    myself a little bit of time
  • 4:35 - 4:37
    and just duplicate
    this layer together
  • 4:37 - 4:39
    with the animation
    by right-clicking it
  • 4:39 - 4:40
    and selecting Duplicate Layer.
  • 4:42 - 4:46
    And then, once again, I can
    use the Marquee selection
  • 4:46 - 4:48
    to select all the keyframes
    and move them where
  • 4:48 - 4:50
    this animation should be.
  • 4:52 - 4:55
    I'm going to adjust these
    keyframes where the first text
  • 4:55 - 4:57
    box fades out and the
    second one fades in
  • 4:57 - 4:58
    so they don't crossfade.
  • 4:58 - 5:00
    If your keyframes
    get this close together,
  • 5:00 - 5:03
    you can use the zoom slider
    to get a more high-res view
  • 5:03 - 5:04
    of the animation.
  • 5:12 - 5:13
    Now let's also
    update the text.
  • 5:15 - 5:17
    Right now, I have
    these two text boxes
  • 5:17 - 5:18
    one on top of the other.
  • 5:18 - 5:20
    If I click here now,
    I might accidentally
  • 5:20 - 5:22
    edit the top one.
  • 5:22 - 5:23
    I'm going to
    lock it so
  • 5:23 - 5:24
    I don't activate it.
  • 5:24 - 5:27
    And this will let me
    edit the one underneath.
  • 5:44 - 5:46
    Now our animation
    is almost done.
  • 5:46 - 5:48
    Let's take a closer
    look at what's
  • 5:48 - 5:50
    going on between the keyframes.
  • 5:50 - 5:53
    Between every pair of
    keyframes it says Linear.
  • 5:53 - 5:55
    This refers to the
    CSS easing function,
  • 5:55 - 5:58
    which is used to compute
    intermediate values
  • 5:58 - 6:00
    between every pair of keyframes.
  • 6:00 - 6:03
    So linear means that the values
    change at a constant rate.
  • 6:04 - 6:05
    We have other options.
  • 6:05 - 6:06
    If you right-click,
    you'll see
  • 6:06 - 6:09
    all the standard
    easing functions specified
  • 6:09 - 6:10
    in the CSS spec.
  • 6:11 - 6:14
    So, particularly
    for this transition
  • 6:14 - 6:17
    where the image slides
    from one half to the next,
  • 6:17 - 6:19
    it can be good to choose
    a different easing function
  • 6:19 - 6:22
    such as ease-in-out
    in which the motion accelerates
  • 6:22 - 6:24
    a bit and
    then decelerates
  • 6:24 - 6:27
    before coming to rest, which
    simulates real-world motion
  • 6:27 - 6:28
    a bit more closely.
  • 6:30 - 6:32
    I'm going to limit
    my preview area
  • 6:32 - 6:38
    by dragging these yellow handles
    just to this transition here.
  • 6:38 - 6:41
    And I'm going to
    set Preview on Loop
  • 6:41 - 6:43
    and run the preview
    just over this area
  • 6:44 - 6:46
    so I can debug that transition.
  • 6:47 - 6:48
    And that looks good.
  • 6:48 - 6:50
    One other thing
    we can do is,
  • 6:50 - 6:52
    rather than using a
    predefined function
  • 6:52 - 6:53
    we can also create our own.
  • 6:53 - 6:55
    If you right-click and
    select Easing options
  • 6:55 - 6:57
    you can customise
    this Bezier curve
  • 6:57 - 7:00
    to be anything that you like
    and save out a custom preset.
  • 7:04 - 7:05
    Click OK to apply it.
  • 7:09 - 7:11
    That just about
    wraps up this tutorial.
  • 7:11 - 7:13
    For those interested, we
    have other tutorials
  • 7:13 - 7:16
    going more in-depth on other
    animation-related subjects.
  • 7:16 - 7:18
    That's it.
    Thanks for watching.
Title:
Timeline Advanced Mode Overview - Google Web Designer
Description:

more » « less
Duration:
07:20

English, British subtitles

Revisions