Weather App 2
in this video, we're going to animate the app portion of this project. So what I did in the original one was have the different tabs, sort of open and close and as they open and close the different sort of icons in the background became more opaque. There's one tool that I want to mention or one column that we haven't gone over before and it's this column right here called the shy guy column. And if you click on this, nothing's going to happen right now. But you see that this little icon of this little shy guy, this shy person hides and this allows us to clean up our workspace when we have layers that we don't necessarily need to see anymore. And so for example, this text information right here is great. It's already parented to the night layer below and we really don't need to see it anymore. So if I click that off and then I enable the shy layers up here, it makes it disappear, it's still here, we can still see in our in our composition but it just cleans it up a little bit. So if I ...
click this off for all of our text layers and even for now we can do it for our sun and our moon and cloud layers, what happens is we get a lot a much cleaner timeline and once you see if it's enabled and you click something off, then it automatically disappears. So we'll have to turn it off and then turn it on and then re enable to get it back to how it was except I don't want that cloud. I want the night layer. Okay, so now for the first animation, I'm just going to animate the position of these different layers. So select all, command a press P to bring up position. Then I'm gonna start around 1/2 and set a key frame for all of these just by clicking the stopwatch icon and that sets a key frame for all of them. And then I'm going to go forward to 1.5 seconds and let's decide which ones we want to bring down I think let's pull down the evening and the night tab. So if we take the evening and the night tabs select both and drag it down. That's pretty cool. So that's gonna pull down, we wanted to pause and then let's copy these key frames for each of these layers and I do that individually. And then let's go forward and actually here let's set a key frame for everything because right now we're saying everything is right here And then at three seconds Let's decide what we want. So let's set everything back to how it was originally. So I'm copying and pasting this first key frame but now I wanted to decide what we want and maybe what I want to do is actually bring everything up so we see the night. So select all these key frames and drag up until we see the night. So now everything let me click off so we can see it better. And let me turn off our title action safe so we can see it even more clearly. Everything drops down. It pauses and then everything pulls back up as if you were swiping up from the night. So you swipe down for the day. You swipe the evening down to see the day and then you pull up the night. Cool. Right. And then at the very end let's just copy and paste all these key frames and notice that I do them individually. Because if I grab all of these key frames copy and then paste what happens is it duplicates the layer, not the key frame when copying and pasting key frames. You have to do it on an individual layer basis. So copying and pasting. Let's let me get that one and then at five seconds let's just copy and paste the first key frame. And the reason why I want to do that is because I want to create a perfect loop so I can loop this animation of the app working. So you see how it loops at the end. It's the same as the beginning. Now let's just select all of these. Let's add motion blur, enable motion blur And add easy ease. So select all F nine on my keyboard. Go into my graph editor. Make sure I'm on the the speed graph, select all of them and then take the left key frames drag to the right right key frames drag to the left. Let's see if that looks good though because sometimes the the popping effect doesn't necessarily look as natural for these kinds of things. I think that looks pretty good. I think this goes a little too fast right here so I'm just going to extend this and like a quarter of a second and I'm happy with that. Okay, so the other thing that's going on is when the tabs are opened, the icons in that tab can't become more opaque. So what I wanna do is dis enable shy guy. I'm going to turn on the cloud and the sun for the day tab select both of those and then press T when it's closed. I'm going to set it. He framed for the opacity right here at 25. And while I'm at it I'm just going to set it here at the end for 25 as well. And then I'm going to go to the middle and bring it all the way up to 100 And then at this key frame all the way at 100 and for this off easy, easy. But I don't need to necessarily go into the graph editor. So F nine. So that's good. And then on the evening one. So here let's go to our evening moon, press t set a key frame there, one at the end and then in the middle will bring up all the way, 2 for both of those key frames. Then F. Nine. Cool. The other thing that was going on in our original comp was that the sun was actually just spinning the whole time. Which I kind of like. So let's go into our app and go to the very beginning, closing down everything. Let's find our son. Press R for rotation, set a key frame, then go forward and then just rotate. Not too much, maybe like degrees. And then drag that key frame to the end and then I'll copy these key frames. Go to our other son which is on the top in the morning. I still want that to be rotating and paste it. So now if I press T. Or are rather you have those rotation key frames for both of these layers. So let me render this out and let's play it with the space bar. Alright here you go. So you get the sun rotating. Okay this is pretty cool. What I noticed though is that the rotation it jumps when it gets to here. So we're gonna have to find a spot where it rotates here, where it matches the first key frame and it's right in the middle. So 36 should look good. Yes. 36. So it's right where the rays are one of the raises perfectly up and down. So that last rotation key frame should be and that looks good. Cool. So that's how you animate the app, the user design part of it. In the next lesson, we're going to put be putting it all together in this little iphone screen, we're going to be adding the background and the reflection and the motion as well. Thanks so much for watching.