Exploring the TimelineMax properties
We are now in TimelineMax. In this lesson, we will explore the properties that are uniquely configured to work with TimelineMax.
Video Transcript
00:00First of all, welcome to chapter 8. It's the final chapter in our master-master collection of animations
00:08training, right? This chapter is gonna be easy. You could, you know,
00:13unbuckle your belt, get yourself a cake, you deserve it, and let's get started. Really, most of the stuff
00:19we're gonna do right now are gonna be incredibly familiar because we've seen them
00:22throughout our course in different iterations of it at some level.
00:26So let's just get started. So chapter 8, here we go.
00:29So the first thing I'm gonna do is in our, I'm gonna take this stuff from chapter 7, and I'm just gonna go ahead and delete
00:34here everything, just leaving our initial tween here of our copy, of our logo copy.
00:40So if we run it here for a second really quickly, we'll have a really, really slow animation.
00:46Let's fix it, right? That's the first thing that we want to do. We talked about how
00:50changing time, it doesn't seem that critical for one animation, at least most of the time,
00:55but look how critical it could become and how important it could become when you're going to your timeline.
01:01For example, this timeline, and we want to say, hey, we want to scale the time. So time,
01:06time scale, and we could scale the time and say, hey,
01:10we want this to be actually five seconds instead of whatever it is.
01:13And if I set it as five seconds instead of whatever it is, and we run it,
01:17we'll see that our animation will be really quick, which is great.
01:21Now it's time for us to move into the timeline max, and to do that, I'm going to go ahead and
01:27first, I'm going to have to upgrade our timeline from a timeline light to a timeline max. So I'm
01:32going to go ahead and do that. And I'm going to create a new timeline max instead of timeline
01:37light. And once I've done that, now I could start adding features that are very similar to
01:41the features that we saw in tween max, and such as repeat. So just the same properties,
01:49we're not going to talk too much about them. How about we'll do just four times a repeat,
01:53and then we'll run it. Now, when I run it now, it's not going to work. It's not going to work
01:56for very simple reason. I've done it a little bit quickly, but I'm going to give you just one
02:00second to think about it. We're going to imagine that you're, we're doing this live.
02:04Why isn't the repeat working? Now, the reason is we are in timeline max,
02:07which does support repeats. But the problem is, is we're out of removing our children,
02:12which we've done that a couple of videos ago, a couple, you know,
02:15a couple of chapters ago or a chapter ago, which basically removes actual between the
02:19tweens when they're done. So we want to make sure that we're not calling that if we're actually
02:23going to call a repeat, because as soon as that animation completes, it removes it from the stack,
02:27which is not what we want happening in this case. So if we run it now, again, we'll see that our
02:33animation is going to happen over and over, which is great. But we really what we really
02:37want is to have a delay. So let's add here a quick repeat delay, we'll do a delay of two
02:47seconds. And I'm going to go ahead and also add another property, which is called a yo yo,
02:50which I'm sure you remember from tween max, and which will enable us to yo yo our animation.
02:56So if I just fix whatever error I created here by not putting here a comma, but putting a dot
03:01instead. And if I run it one more time, this time around, it's going to wait for two seconds,
03:06animate out, wait for two seconds, animate out. Now I don't think it's waiting really,
03:11it seems like it's just going right ahead. Oh, no. Well, yeah, I think it is. Maybe I didn't
03:16type here the copy correctly. I mean, double check, repeat, delay, you know, that looks
03:24good to me. So let me just put there. Oh, you know what it is, is because we scaled our time
03:29to be five seconds. So it doesn't really matter if we're saying repeat delay of 10 seconds,
03:33it's all getting squeezed down into the scaling mode into this time of five seconds, I think.
03:39But let me set it to 10 seconds. And let's see if that's if it works. One, two, three,
03:44four. Yeah, it's been it's been modified, because all of our animations have been modified. So
03:50this value of 10 seconds isn't really accurate, because now we don't have if we would actually
03:56take that scaling out of the way, and actually have our animation go in its natural speed,
04:02the way it was supposed to be, then, then really only then you would have there that
04:09one, two, three, four, five, six, seven, eight, nine, 10 seconds to wait before the animation
04:15starts going backwards. Okay, so that's it. That's what I wanted to talk about repeat,
04:20repeat delay, yo yo, let's move on to the next topic.
