1
00:00:07,820 --> 00:00:10,984
Hello, welcome to the
Number Counting thing...

2
00:00:11,060 --> 00:00:14,429
where it goes up from 0,
in this case it goes to 53%.

3
00:00:14,805 --> 00:00:16,938
All right, let's look at
how to make that now.

4
00:00:17,531 --> 00:00:20,515
So first up, I've got a project
I kind of started for us.

5
00:00:20,599 --> 00:00:23,007
You can obviously use your own,
go to your Desktop...

6
00:00:23,227 --> 00:00:24,991
find your Exercise Files,
there's one in...

7
00:00:25,066 --> 00:00:27,270
called 'Pie Charts', and it's
called 'Number Counter'.

8
00:00:27,648 --> 00:00:30,476
Now what I've done for you
is I've created just...

9
00:00:30,977 --> 00:00:33,875
exactly what we did in the last exercise,
instead of having two of them...

10
00:00:34,523 --> 00:00:37,211
where we had Tablet and Mobile,
I've just done one.

11
00:00:38,796 --> 00:00:40,500
The percentage is going to be 83%.

12
00:00:40,576 --> 00:00:42,281
And I've just calculated that already.

13
00:00:42,364 --> 00:00:45,038
It's just a silly disc in the middle,
making it look like a doughnut.

14
00:00:45,375 --> 00:00:47,461
Now what we want to do is
add the Number Counter.

15
00:00:47,797 --> 00:00:49,266
First up, we need the Text.

16
00:00:49,602 --> 00:00:52,922
So we're going to grab the 'Type' tool,
clicking it right in the middle.

17
00:00:53,156 --> 00:00:55,031
And I'm going to type out my numbers.

18
00:00:55,115 --> 00:00:57,086
I'm using this font here called Lust.

19
00:00:57,625 --> 00:01:00,727
It's a free one, it's from TypeKit,
we looked at TypeKit earlier.

20
00:01:00,828 --> 00:01:04,359
Now what we want to do is
we don't want to have the percentage...

21
00:01:04,539 --> 00:01:08,937
in the same text box,  so he's 50,
actually it's 53%.

22
00:01:09,656 --> 00:01:10,984
It's my top one.

23
00:01:11,148 --> 00:01:14,468
And I want to have it
in a separate box...

24
00:01:14,545 --> 00:01:15,726
because the Number Counter 
can work here...

25
00:01:15,802 --> 00:01:18,364
but it can't append
the percentage there.

26
00:01:18,515 --> 00:01:21,390
So, I'm going to select it down here,
copy and paste.

27
00:01:22,132 --> 00:01:24,563
And it's made it to 54, it's cool.

28
00:01:24,672 --> 00:01:27,891
Double click it, and change it
to percentage.

29
00:01:28,219 --> 00:01:31,758
Now it's kind of in the way now,
just grabbing the tool.

30
00:01:31,834 --> 00:01:34,633
Sliding it across, I'm holding
'Shift' while I'm dragging.

31
00:01:34,813 --> 00:01:37,243
So now we've got these two little units.

32
00:01:37,318 --> 00:01:38,906
So we don't need percentage anymore.

33
00:01:38,982 --> 00:01:41,293
It's just this 53 that we're
going to be working on.

34
00:01:41,370 --> 00:01:42,744
If you are trying to edit other bits...

35
00:01:42,820 --> 00:01:45,004
I have locked together all the
Layers so you don't wreck it.

36
00:01:45,297 --> 00:01:47,094
But if you want to wreck it, unlock them.

37
00:01:47,398 --> 00:01:50,453
The first thing we need to do
is create something called a Slider.

38
00:01:50,609 --> 00:01:52,861
And it's going to control
the up and down of this...

39
00:01:52,937 --> 00:01:54,168
and allow us to Keyframe it.

40
00:01:54,406 --> 00:01:55,883
So what we're going to do is go to...

41
00:01:55,959 --> 00:01:57,927
'Effects & Presets',
and type in 'Slider'.

42
00:01:58,984 --> 00:02:01,711
And in here, there's one
called 'Slider Control'.

43
00:02:01,836 --> 00:02:03,327
Click and drag it to either here...

44
00:02:03,403 --> 00:02:06,632
or it's easier to drag it to
the number down here on the layers.

45
00:02:07,391 --> 00:02:09,213
Now, this is what
we're going to connect to.

46
00:02:09,354 --> 00:02:11,013
So I've applied this effect
called Slider...

47
00:02:11,089 --> 00:02:13,078
and the Slider just allows you
to crank it up and down.

48
00:02:13,154 --> 00:02:14,322
It's not connected yet.

49
00:02:14,398 --> 00:02:17,867
We need it to connect to one of
the attributes inside of here.

50
00:02:18,117 --> 00:02:21,140
And actually what's going to be good
for us is the Source Text.

51
00:02:21,406 --> 00:02:22,968
And the way you connect
these two together...

52
00:02:23,044 --> 00:02:24,734
it's the same as when
we add an Expression.

53
00:02:24,810 --> 00:02:28,460
Remember, we hold down the 'Alt' key
on a PC, or 'Option' key on a Mac.

54
00:02:28,680 --> 00:02:29,868
Click the little stopwatch.

55
00:02:30,797 --> 00:02:32,805
And we've started a bit of Expression.

56
00:02:32,881 --> 00:02:36,063
Now what we've done previously
is deleted it, and replaced it.

57
00:02:36,139 --> 00:02:38,485
Now what we're going to do is
use this thing called the Pickwhip.

58
00:02:38,570 --> 00:02:40,319
And his job is to click, hold, drag...

59
00:02:40,395 --> 00:02:42,390
and he's kind of this
little weird thing...

60
00:02:42,466 --> 00:02:45,164
so I want you to connect too,
and let go on Slider.

61
00:02:45,508 --> 00:02:48,774
Click 'return' on your keyboard, click
anywhere else in the document.

62
00:02:49,023 --> 00:02:51,242
And now, if we put our Playhead
back at the beginning...

63
00:02:51,318 --> 00:02:53,719
this Slider is connected. Cool, huh!

64
00:02:53,859 --> 00:02:55,757
So we still to need to
animate the Keyframes...

65
00:02:55,834 --> 00:02:57,138
with this little stopwatch here.

66
00:02:57,273 --> 00:02:59,734
So at the beginning,
I'm going to set it to '0'.

67
00:02:59,906 --> 00:03:02,476
You can go negative, so set it to '0'.

68
00:03:02,553 --> 00:03:05,040
Let's start the stopwatch
to put in a Keyframe.

69
00:03:05,115 --> 00:03:07,086
It's up to you.
We're in this 'Effects Controls'...

70
00:03:07,162 --> 00:03:09,844
you will actually find the stuff
down here, there's the Effects.

71
00:03:10,195 --> 00:03:11,570
This is the Slider control.

72
00:03:11,646 --> 00:03:12,796
And if you prefer using it down here...

73
00:03:12,872 --> 00:03:14,625
like we have in the
rest of the tutorial...

74
00:03:14,701 --> 00:03:17,594
you can see the Keyframe there, or use
the one up there, it doesn't matter.

75
00:03:18,031 --> 00:03:20,179
So how far along we're going to go?

76
00:03:20,256 --> 00:03:22,985
What I'm probably going to do is
I'm going to get it to start...

77
00:03:25,125 --> 00:03:27,500
about there, so I want this
first Keyframe to be 0...

78
00:03:27,576 --> 00:03:30,313
at about there.
It's this bar here we're kind of...

79
00:03:30,389 --> 00:03:32,821
getting it to be associated with,
and when it's finished...

80
00:03:32,896 --> 00:03:35,992
I'd like to lift it up to 53%.

81
00:03:36,297 --> 00:03:37,110
Awesome!

82
00:03:37,185 --> 00:03:43,460
Problem is, it has fractions,
or decimal points by default.

83
00:03:43,633 --> 00:03:44,711
It's pretty easy to remove.

84
00:03:45,977 --> 00:03:47,367
It is actually counting up fine.

85
00:03:47,443 --> 00:03:50,992
What we want to do now
is find that Expression...

86
00:03:51,068 --> 00:03:55,015
that we worked on. It's under 'Text',
'Source Text', there it is there.

87
00:03:55,938 --> 00:03:57,805
Now what we're going to do
to fix it up...

88
00:03:57,881 --> 00:03:59,795
is we need to put it
inside a parentheses...

89
00:03:59,871 --> 00:04:02,380
inside a set of brackets, 
so there's a bracket at the end.

90
00:04:02,859 --> 00:04:04,492
Bracket at the beginning,
so wrap it up.

91
00:04:04,568 --> 00:04:07,781
At the beginning here we use
Capital M for Math.round

92
00:04:07,857 --> 00:04:08,992
No spaces.

93
00:04:09,068 --> 00:04:11,469
Click anywhere else out,
and hopefully now...

94
00:04:13,352 --> 00:04:15,930
goes up without all the
extra decimal points.

95
00:04:16,406 --> 00:04:18,094
And that my friends is it.

96
00:04:18,359 --> 00:04:20,385
All right, we've got our
little percentage going...

97
00:04:20,461 --> 00:04:21,682
in our cool little graph.

98
00:04:22,813 --> 00:04:25,555
That's it, I will see you
in the next tutorial.

99
00:04:26,102 --> 00:04:27,407
I'm back for a second.

100
00:04:27,482 --> 00:04:29,119
I was just closing the
file, and was like...

101
00:04:29,195 --> 00:04:30,166
"That might kick them up."

102
00:04:30,242 --> 00:04:33,398
See over here, in my Panels,
we're in this kind of other mode here.

103
00:04:33,742 --> 00:04:37,750
So you can bring in Switches,
actually we're in Modes.

104
00:04:37,867 --> 00:04:41,258
Now if I click on this, that's back to
how we've been for most of the course.

105
00:04:41,334 --> 00:04:43,477
Click on this again.
It's kind of a weird button to find.

106
00:04:43,553 --> 00:04:47,492
You can search up here, high and low,
but look at this guy, transforms from--

107
00:04:47,568 --> 00:04:49,359
We're going to look at these more,
as we go through Masks...

108
00:04:49,435 --> 00:04:52,132
but most of the time we're going
to be here with our lovely...

109
00:04:52,313 --> 00:04:54,071
Motion Blurs and our 3D.

110
00:04:54,219 --> 00:04:56,649
So make sure you set it back after--

111
00:04:56,727 --> 00:04:58,085
The reason it's switched over
is because...

112
00:04:58,161 --> 00:05:00,126
we were messing around with
the Expressions earlier.

113
00:05:00,367 --> 00:05:02,023
All right, as you were.


