In this episode, we’re going to animate our little hearts out. Follow along and you’ll get a great overview of how to use Flow, with an eye towards getting your animation into a real project.
Let’s start by creating a new project.
This step starts at 0:08
heart.sketch
file.unliked
and liked
artboards.LikeButton.flow
plusIcon
to the bottom of the layer hierarchy.The grey heart shape (i.e. the layer named heartGrey
) is supposed to bounce, then fade away. Let’s start with the bounce and go from there.
This step starts at 0:51
0.5s
heartGrey
layerShift
+Option
+Drag the layer to shrink it a little bit.Shift
+Drag the last keyvalue to 0.4s
(this scales the animation)0.20s
.The red heart shape (i.e. the layer named heartRed
) is supposed to fill in from the bottom. The default animation shows that the redLayer
is slightly offset, we’ll have to fix it first using Relative Mode.
This step starts at 3:21
redLayer
Relative Mode
by pressing Option
+Command
+R
x = 17.43
)Relative Mode
Y
track of the layer’s animation0.28s
0.54s
There are two steps in the animation for the plusIcon
.
First, let’s animate the bounce effect.
This step starts at 5:05
0.5s
Option
+Shift
while dragging one of its handles.Width
and Height
tracks0.26s
0.32s
, which should shift all the keyvalues to the rightNow, we’ll animate the fade in of the plusIcon
This step starts at 6:08
Opacity
trackCommand
+click the first keyvalue of the redLayer
’s Y
trackAlign Right
button at the top of thee properties panelOpacity
track0.5s
We want a pause in the opacity animation of the redLayer
.
This step starts at 6:52
redLayer
’s opacity track by pressing Option
while dragging it.0.75s
0.66s
When two adjacent keyvalues have the same value, there will be a gap in the timeline.
We’re done our aniamation, but the Timeline is too long.
This step starts at 7:58
0.75s
Clip
buttonThe duration of the timeline is now tight to our animation.
In the next screencast we’re going to take this animation and we’re going to export it as iOS code. See ya soon.
result(s) found for “”.