1
00:00:00,000 --> 00:00:00,000
Hello, guys.

2
00:00:00,000 --> 00:00:02,000
We're done with the section of the player.

3
00:00:02,000 --> 00:00:03,000
I just want to do quick.

4
00:00:03,000 --> 00:00:07,000
Tidy up to make it a bit prettier before we jump to next section.

5
00:00:07,000 --> 00:00:11,000
At the moment we have our code and it's predefined, and in the inspector it looks fine as well, but

6
00:00:11,000 --> 00:00:14,000
I just want to change it by a tiny bit because it bothers me.

7
00:00:14,000 --> 00:00:19,000
All right, so what are we going to do is we're going to take this move speed and move it over here.

8
00:00:19,000 --> 00:00:23,000
And remember, you can do that by holding alt key and press an arrow up.

9
00:00:24,000 --> 00:00:28,000
And then it's going to be not speed info, but just move info.

10
00:00:28,000 --> 00:00:31,000
Then this one can be changed to jump info.

11
00:00:32,000 --> 00:00:34,000
So we have two different headers.

12
00:00:34,000 --> 00:00:37,000
I want to take this player unlocked from jumping four and just move it above.

13
00:00:37,000 --> 00:00:41,000
Over here where we have player is that player is unlocked.

14
00:00:42,000 --> 00:00:45,000
Then this knockback info, I guess it can stay the same.

15
00:00:45,000 --> 00:00:46,000
I'm not sure if I want to change it.

16
00:00:47,000 --> 00:00:50,000
Maybe if you feel like you can change it, it's no problem at all.

17
00:00:51,000 --> 00:00:52,000
Um, let's.

18
00:00:52,000 --> 00:00:54,000
Let's put it here.

19
00:00:55,000 --> 00:00:56,000
It's all fine now.

20
00:00:58,000 --> 00:01:00,000
We have default speed while you.

21
00:01:02,000 --> 00:01:03,000
Buy now.

22
00:01:03,000 --> 00:01:03,000
Keep it here.

23
00:01:03,000 --> 00:01:08,000
It's kind of belongs to the speed and this kind of belongs to the milestones.

24
00:01:08,000 --> 00:01:14,000
I feel like milestone increase is not clear enough as a name, but I didn't come up with anything better

25
00:01:14,000 --> 00:01:14,000
yet.

26
00:01:14,000 --> 00:01:15,000
So let's keep it like that.

27
00:01:16,000 --> 00:01:20,000
What else I want to do here is go below.

28
00:01:21,000 --> 00:01:26,000
We can close this knock back region speed control region ledge clamp region.

29
00:01:26,000 --> 00:01:28,000
Let's see what else we can do here.

30
00:01:29,000 --> 00:01:32,000
Check for slide and movement should be okay.

31
00:01:32,000 --> 00:01:35,000
Maybe we can rename it to check for slide cancel.

32
00:01:35,000 --> 00:01:39,000
So let's press control r check for slide cancel.

33
00:01:39,000 --> 00:01:45,000
So the point of this renaming is it's supposed to be understandable for person who never saw this code.

34
00:01:45,000 --> 00:01:46,000
All right?

35
00:01:46,000 --> 00:01:52,000
And believe me, if you jump to your code after a couple of weeks, it might feel like you don't know

36
00:01:52,000 --> 00:01:52,000
who did this.

37
00:01:52,000 --> 00:01:54,000
And what the hell is this?

38
00:01:54,000 --> 00:01:56,000
So it should be as clear as possible.

39
00:01:56,000 --> 00:01:57,000
So check for slide.

40
00:01:57,000 --> 00:01:58,000
Cancel.

41
00:01:58,000 --> 00:01:59,000
Okay.

42
00:02:00,000 --> 00:02:02,000
Movement is okay.

43
00:02:03,000 --> 00:02:05,000
Maybe you can do, like, set up movement.

44
00:02:05,000 --> 00:02:08,000
Yeah, Let's do set up movement.

45
00:02:08,000 --> 00:02:10,000
Let's go below slide button.

46
00:02:10,000 --> 00:02:11,000
It's okay.

47
00:02:11,000 --> 00:02:12,000
We're going to call slide button later.

48
00:02:12,000 --> 00:02:14,000
We need it to like that jump button.

49
00:02:14,000 --> 00:02:15,000
Check input.

50
00:02:15,000 --> 00:02:18,000
Also, we need it so maybe we can create a region for this region.

51
00:02:19,000 --> 00:02:22,000
Inputs and here.

52
00:02:22,000 --> 00:02:24,000
And region.

53
00:02:24,000 --> 00:02:26,000
Let's cover this now.

54
00:02:26,000 --> 00:02:26,000
Boom.

55
00:02:27,000 --> 00:02:32,000
And we can create region for animator and animations.

56
00:02:33,000 --> 00:02:35,000
And we have raw animation finished and region.

57
00:02:37,000 --> 00:02:38,000
Like that.

58
00:02:39,000 --> 00:02:40,000
Let's see.

59
00:02:40,000 --> 00:02:41,000
This looks all pretty, right?

60
00:02:44,000 --> 00:02:45,000
I don't know.

61
00:02:46,000 --> 00:02:47,000
All right.

62
00:02:47,000 --> 00:02:48,000
It's fine for now.

63
00:02:48,000 --> 00:02:50,000
I guess we're not going to come back here much.

64
00:02:50,000 --> 00:02:50,000
But still.

65
00:02:50,000 --> 00:02:52,000
Now, let's close it.

66
00:02:52,000 --> 00:02:54,000
And I want to do some other changes.

67
00:02:57,000 --> 00:02:59,000
And this is how our inspector looks.

68
00:02:59,000 --> 00:03:00,000
Now move in for speed.

69
00:03:00,000 --> 00:03:02,000
Max speed, Speed multiplier.

70
00:03:02,000 --> 00:03:03,000
Jump in for jump force.

71
00:03:03,000 --> 00:03:04,000
Double jump.

72
00:03:04,000 --> 00:03:04,000
It's okay.

73
00:03:05,000 --> 00:03:07,000
Now we can delete this city background.

74
00:03:07,000 --> 00:03:09,000
I guess we don't need it as a reference anymore.

75
00:03:09,000 --> 00:03:13,000
We're going to have the job done, but if you need it, you keep it.

76
00:03:13,000 --> 00:03:17,000
Or maybe just in case, you know, just in case I'll move it to graphics folder and I'll let it sit

77
00:03:17,000 --> 00:03:18,000
there.

78
00:03:18,000 --> 00:03:20,000
Now let's create another folder.

79
00:03:21,000 --> 00:03:24,000
It's going to be named as scripts.

80
00:03:24,000 --> 00:03:26,000
Let's take our script.

81
00:03:26,000 --> 00:03:28,000
Drag it here, just like that.

82
00:03:28,000 --> 00:03:30,000
We can delete the city from hierarchy.

83
00:03:30,000 --> 00:03:32,000
Let's see what else we can take.

84
00:03:32,000 --> 00:03:39,000
Cinema, machine camera, take main camera and create empty parent that we're going to call camera just

85
00:03:39,000 --> 00:03:39,000
like that.

86
00:03:39,000 --> 00:03:40,000
Cover it.

87
00:03:40,000 --> 00:03:45,000
Now we have camera player level, generator and background.

88
00:03:45,000 --> 00:03:46,000
All right.

89
00:03:46,000 --> 00:03:47,000
That's good enough.

90
00:03:48,000 --> 00:03:54,000
Let's save the project, and I'll make an archive of this project, and I'll attach it to this lecture.

91
00:03:54,000 --> 00:03:59,000
So in case you have some trouble in the middle of the work of the project, you can download it and

92
00:03:59,000 --> 00:04:00,000
use it as yours.

93
00:04:00,000 --> 00:04:02,000
All right, close it and see you later.

