< Return to Video

Parallax Overview - Google Web Designer

  • 0:05 - 0:09
    NIVESH: Hi my name is Nivesh
    and I'm a developer on Google Web Designer.
  • 0:09 - 0:11
    In this video I'm going to give you an overview
  • 0:11 - 0:13
    of using the parallax component
  • 0:13 - 0:14
    to create parallax animations
  • 0:14 - 0:17
    As I scroll
    the page up or down
  • 0:17 - 0:18
    the foreground and background images
  • 0:18 - 0:23
    move at different speeds
    creating an illusion of depth
  • 0:23 - 0:26
    The parallax component relies on
    the ad publisher's site
  • 0:26 - 0:27
    to forward the page scroll events to the ad
  • 0:27 - 0:30
    In response to the scroll events
  • 0:30 - 0:32
    the parallax component animates the images.
  • 0:32 - 0:37
    You can find some
    other examples of parallax animations
  • 0:37 - 0:39
    in our File, New from template...
  • 0:39 - 0:45
    in the
    Parallax for Display & Video 360 category
  • 0:48 - 0:52
    Here are what these parallax
    examples look like in the browser
  • 0:56 - 0:58
    You'll notice that the images move vertically
  • 0:58 - 1:01
    as well as horizontally as I scroll the page
  • 1:05 - 1:08
    Now let's create our own parallax
    animation
  • 1:11 - 1:12
    Go to File, New
  • 1:16 - 1:20
    The environment has to be Display & Video 360
    for parallax component
  • 1:25 - 1:26
    To add the parallax component to your project
  • 1:26 - 1:29
    open the Components panel
  • 1:31 - 1:32
    and drag the parallax component
  • 1:32 - 1:35
    from the interaction folder onto the stage
  • 1:39 - 1:40
    You can configure the parallax component
  • 1:41 - 1:42
    by going to the
    properties panel
  • 1:43 - 1:46
    and clicking on the Images control
  • 1:46 - 1:49
    or you can double click
    on the component itself
  • 1:50 - 1:54
    You start by adding images to your parallax animation
  • 1:54 - 1:56
    You can add images by dragging files
  • 1:56 - 2:01
    from your file system onto the stage
  • 2:01 - 2:03
    or layers panel
  • 2:05 - 2:08
    Or you can click on the plus button in the layers panel
  • 2:08 - 2:11
    and add images from the file system
  • 2:15 - 2:18
    You can reorder the layers by dragging
  • 2:18 - 2:20
    and dropping them in the layers panel
  • 2:21 - 2:25
    The order of the layer determines
    which layers display in front of each other
  • 2:25 - 2:28
    the higher layers display in front
    of the lower layers
  • 2:31 - 2:33
    You can also show and hide the images
  • 2:33 - 2:35
    by clicking on the thumbnail area
  • 2:36 - 2:38
    or you can click on the eye icon
  • 2:38 - 2:40
    to show and hide all the images
  • 2:41 - 2:44
    Hiding a layer can make it easier to work on another layer
  • 2:44 - 2:45
    For example I'm
    going to hide all the layers
  • 2:46 - 2:52
    except for the product, the text,
    and this big leaf
  • 2:54 - 2:56
    The settings dialog has three tabs
  • 2:56 - 2:58
    Start, End, and Preview
  • 2:58 - 3:00
    You configure the
    parallax animation
  • 3:00 - 3:02
    by positioning each layer where it should appear
  • 3:03 - 3:06
    at the start and the end of its animation
  • 3:06 - 3:10
    The start position is when the component
    first comes into view in a webpage
  • 3:12 - 3:15
    This part when the component is first
    coming into view
  • 3:15 - 3:18
    and the end position is
  • 3:18 - 3:23
    when the component has just left the
    viewport
  • 3:25 - 3:27
    So let's configure in the start position
  • 3:29 - 3:33
    I'm going to hide the big leaf
    again and I'm going to move this using
  • 3:33 - 3:36
    my mouse the product to the center
  • 3:36 - 3:38
    I can also use arrow keys
  • 3:39 - 3:40
    and I can hold down the shift key
  • 3:40 - 3:42
    to move them by 10 pixels
    at a time
  • 3:43 - 3:48
    or I can actually directly type
    into the layer properties panel
  • 3:51 - 3:55
    And in the end position,
    to quickly copy the values from the start position
  • 3:55 - 3:59
    you can click on
    the match position button here
  • 4:05 - 4:08
    Let me reposition the big leaf in the
    start and end position
  • 4:16 - 4:20
    Now I can hold down the shift key
    to constrain the movement
  • 4:20 - 4:21
    as I drag my mouse
  • 4:21 - 4:24
    and I'm going to move this leaf far away
    at the end position
  • 4:26 - 4:31
    And I can turn on show ghost option
    in the advanced properties
  • 4:32 - 4:35
    and this will display
    a translucent image of the other tab
  • 4:35 - 4:36
    whichever tab you're not currently editing
  • 4:39 - 4:41
    Ghosts are for your reference
    and won't show in the preview
  • 4:41 - 4:44
    or in the published file
  • 4:44 - 4:46
    Now let's preview
  • 4:54 - 4:55
    You can scroll up and down
  • 4:55 - 4:59
    and see how the visible layers
    behave in the sample mobile device
  • 4:59 - 5:03
    You can click the start or end tab
    to continue editing the file
  • 5:03 - 5:09
    so in this case I'm going to change the
    easing option to Ease-in-out
  • 5:09 - 5:14
    and I'm going to fade in the text from 0.3 to 1
  • 5:14 - 5:16
    and now let's preview that again
  • 5:23 - 5:25
    You can also set the width and height
    of the layers
  • 5:25 - 5:30
    I'm going to change the leaf's width to 250 pixels
  • 5:30 - 5:32
    And since the aspect
    ratio is locked
  • 5:32 - 5:36
    the height updated automatically
  • 5:37 - 5:38
    Note that the layer remains the
  • 5:38 - 5:42
    specified size at both the start and the
    end
  • 5:42 - 5:44
    That is the sizes will not be animated
  • 5:45 - 5:47
    When you're satisfied with the
    component
  • 5:47 - 5:48
    click Save and you'll return
  • 5:48 - 5:51
    to the normal Google Web Designer
    interface
  • 5:51 - 5:55
    To save time I'm going to go back to the template file
  • 5:55 - 5:57
    that has all
    the animation already set up
  • 5:57 - 6:00
    and we're going to go to the properties panel
  • 6:00 - 6:02
    and go to the scroll factor section here
  • 6:03 - 6:07
    This scroll factor property is used for
    display on Google Web Designer stage only
  • 6:08 - 6:11
    You can see what the ad would look
    like with different scroll factors
  • 6:11 - 6:14
    by updating this value
  • 6:14 - 6:18
    You can preview your
    ad in the browser as well
  • 6:18 - 6:20
    when you preview in browser
  • 6:20 - 6:23
    the preview page
    emulates how the ad displays on a web page
  • 6:23 - 6:27
    with enough content for you to
    scroll above and below the component
  • 6:31 - 6:33
    You can see what the parallax animation
    looks like
  • 6:33 - 6:35
    in the context of the overall ad
  • 6:35 - 6:39
    such as with your CTA button
    and exit actions
  • 6:39 - 6:42
    Thank you for watching the video
Title:
Parallax Overview - Google Web Designer
Description:

more » « less
Duration:
06:59

English subtitles

Revisions