﻿1
00:00:04,350 --> 00:00:05,340
‫Hello and welcome.

2
00:00:05,340 --> 00:00:11,520
‫In this lecture, we're going to be implementing a level design for our obstacle assault course.

3
00:00:11,520 --> 00:00:16,260
‫You can see here, I've added in some more islands and a little victory end zone at the end.

4
00:00:16,260 --> 00:00:21,240
‫We're going to talk about my process for doing this and getting out some pen and paper and making our

5
00:00:21,240 --> 00:00:22,440
‫own level designs.

6
00:00:22,440 --> 00:00:24,810
‫Let's dive in and get started.

7
00:00:25,430 --> 00:00:30,800
‫So let's try and spend a moment to design a level out of the different components we've got here.

8
00:00:30,800 --> 00:00:31,700
‫Here's my approach.

9
00:00:31,700 --> 00:00:37,370
‫I'm going to start with what kind of permutations and options of obstacle do I have?

10
00:00:37,370 --> 00:00:44,060
‫So what elements can I play with to design this level we've got rotating versus moving.

11
00:00:44,060 --> 00:00:46,250
‫That's one of the key elements we could fiddle with.

12
00:00:46,250 --> 00:00:51,050
‫We got up or down or left and right, so you could have platforms that transport you across a gap.

13
00:00:51,080 --> 00:00:55,190
‫You could have up and down to take you up a level like we've already shown.

14
00:00:55,580 --> 00:00:58,970
‫We've got the pushing slash transporting option.

15
00:00:58,970 --> 00:01:04,280
‫So platforms can be used to push you off of something so they can be an obstacle to avoid or they can

16
00:01:04,280 --> 00:01:07,400
‫transport you, in which case they're an obstacle that you want to get on.

17
00:01:07,610 --> 00:01:10,580
‫So those are some of the options that we've got available here.

18
00:01:10,580 --> 00:01:19,100
‫Let's have a look in this case at a simple linear course through our obstacle assault course, where

19
00:01:19,100 --> 00:01:24,200
‫basically the whole objective is just to get from the start to the end.

20
00:01:24,200 --> 00:01:26,180
‫And there aren't any kind of diversions.

21
00:01:26,180 --> 00:01:30,320
‫You can't take a shortcut, you can't take an option B path.

22
00:01:30,680 --> 00:01:35,570
‫So what I suggest you do is you take this and you take a sheet of paper and you get away from your computer

23
00:01:35,570 --> 00:01:38,750
‫for a little bit and just brainstorm a few different designs.

24
00:01:38,750 --> 00:01:46,430
‫I recommend that you try fitting the design on one sheet of paper so that you just limit the scope because

25
00:01:46,430 --> 00:01:52,040
‫it's very easy to get carried away with all the amazing things that you could do and just take on a

26
00:01:52,040 --> 00:01:52,970
‫little bit too much.

27
00:01:52,970 --> 00:01:55,550
‫So we're going to try and limit the scope to just one sheet.

28
00:01:55,550 --> 00:01:57,290
‫In my case, it was a sheet of A5.

29
00:01:57,290 --> 00:01:59,750
‫You can have a sheet of A4 if you want to.

30
00:02:00,110 --> 00:02:05,870
‫Here's the example of what I've come up with really very quick and dirty, just to give me an idea of

31
00:02:05,870 --> 00:02:06,800
‫what I want.

32
00:02:06,800 --> 00:02:11,070
‫And this is just going to be something that I can adapt later on.

33
00:02:11,070 --> 00:02:14,670
‫And you can see it's incorporating some elements of the design that we've already got.

34
00:02:14,690 --> 00:02:18,410
‫We've got the up and down platforms that take us up to a second level.

35
00:02:18,410 --> 00:02:21,710
‫We've got the pushers going backwards and forwards.

36
00:02:21,710 --> 00:02:24,860
‫We've got these rotating platforms that we need to get across.

37
00:02:24,880 --> 00:02:28,100
‫Then I thought maybe it would be nice to have the idea of a sweeper.

38
00:02:28,100 --> 00:02:34,940
‫So something like a pusher where it rotates around and tries to sweep us off the platform or something

39
00:02:34,940 --> 00:02:41,630
‫like that, and then we'll have some goal at the end, maybe something to to reach that looks cool and

40
00:02:41,630 --> 00:02:44,600
‫makes it clear that we've got to the end of the obstacle course.

41
00:02:44,780 --> 00:02:46,340
‫So that's my idea.

42
00:02:46,340 --> 00:02:50,120
‫And I'd like to challenge you to make your own level design too.

43
00:02:50,120 --> 00:02:52,310
‫So limit yourself to one sheet of paper.

44
00:02:52,310 --> 00:02:57,560
‫As I said, share your results once you're done, choose the design you like the best and share it in

45
00:02:57,560 --> 00:03:02,960
‫the discussions before you go and implement it and then try and implement it for yourself.

46
00:03:02,960 --> 00:03:07,550
‫We've seen how we can make different blueprints for different elements, so you might have a few more

47
00:03:07,550 --> 00:03:11,840
‫elements that you've incorporated in your design, so you can go ahead and make a few more blueprints

48
00:03:11,840 --> 00:03:13,640
‫and put them in the world.

49
00:03:13,640 --> 00:03:16,700
‫So let your design adapt as you play it as well.

50
00:03:16,750 --> 00:03:19,190
‫Once you've written it on paper, you don't have to stick to it.

51
00:03:19,190 --> 00:03:22,520
‫It's not a rule, it's just an idea to get you started.

52
00:03:22,520 --> 00:03:24,740
‫So pause the video and have a go.

53
00:03:27,720 --> 00:03:28,230
‫Okay.

54
00:03:28,230 --> 00:03:29,310
‫Welcome back.

55
00:03:29,340 --> 00:03:35,850
‫So the bit that I wanted to add on top of this level design that we've already got is perhaps we'll

56
00:03:35,850 --> 00:03:43,350
‫add a second platform in here and we'll rotate it around so that it doesn't look the same and lift it

57
00:03:43,350 --> 00:03:44,670
‫up just another level.

58
00:03:44,670 --> 00:03:45,450
‫So this is what I mean.

59
00:03:45,450 --> 00:03:51,030
‫I'm already adapting the design because I've noticed that my I don't have any more space on this platform

60
00:03:51,030 --> 00:03:54,660
‫to put a pusher in there and then there are some stairs down here.

61
00:03:54,660 --> 00:03:55,730
‫I kind of like those.

62
00:03:55,730 --> 00:04:03,810
‫So I'm going to take a copy of this ramp and try and paste it down here.

63
00:04:03,810 --> 00:04:06,150
‫I want to actually move it up to the platform somehow.

64
00:04:06,150 --> 00:04:14,130
‫So what I might do is take the location of one of these rotating platforms and copy it and click on

65
00:04:14,130 --> 00:04:19,950
‫the ramp that I've duplicated and paste the location so that it comes up here.

66
00:04:19,950 --> 00:04:20,670
‫Excellent.

67
00:04:20,820 --> 00:04:28,680
‫And now I'm going to try and position this ramp so that it takes us up to the next platform.

68
00:04:28,680 --> 00:04:35,340
‫So I'm going to have to adjust the height of the platform and adjust its position somewhat as well so

69
00:04:35,340 --> 00:04:37,710
‫that it takes us nicely up there.

70
00:04:37,710 --> 00:04:43,920
‫So so this is where using the play from here, it comes in really handy if we right click on just after

71
00:04:43,920 --> 00:04:50,370
‫we've gone past our rotating platforms, click play from here and see if we can get up these stairs.

72
00:04:50,410 --> 00:04:50,630
‫Hmm.

73
00:04:50,700 --> 00:04:52,080
‫Looks like we can't.

74
00:04:52,080 --> 00:04:57,210
‫For some reason, I think the angle of these stairs is a little bit too steep.

75
00:04:57,210 --> 00:04:59,100
‫So how can we fix that?

76
00:04:59,100 --> 00:05:04,980
‫Well, I can go over to the third person character, and I can click on its movement component.

77
00:05:04,980 --> 00:05:08,730
‫And here there's a bunch of properties about how this character walks.

78
00:05:08,730 --> 00:05:13,980
‫And you can see one of them is the walkable floor angle, and it's set to 44 degrees.

79
00:05:13,980 --> 00:05:17,010
‫So it looks like we've got a bit of a steeper set of stairs.

80
00:05:17,010 --> 00:05:21,990
‫So I'm just going to set this to 60 degrees to make sure we can make our way up it.

81
00:05:21,990 --> 00:05:26,820
‫Then we're going to play from here again and see if we can get up there.

82
00:05:27,000 --> 00:05:27,390
‫Yep.

83
00:05:27,390 --> 00:05:31,890
‫Sure enough, we can go up those stairs now that they're a little bit wider.

84
00:05:31,890 --> 00:05:33,690
‫Now the platform's a little bit down.

85
00:05:33,690 --> 00:05:37,140
‫So I'm going to adjust that and then I'm going to try and make a sweeper.

86
00:05:37,140 --> 00:05:39,330
‫So we're going to go to our C++ class.

87
00:05:39,450 --> 00:05:44,070
‫We're going to right click on it and create a blueprint class, and I'm going to call it the beep underscore

88
00:05:44,130 --> 00:05:44,970
‫sweeper.

89
00:05:45,640 --> 00:05:47,370
‫I'm going to put it in the root of content.

90
00:05:47,370 --> 00:05:55,080
‫Then with that open, I'm going to go to our content drawer and search for well, I quite like the look

91
00:05:55,080 --> 00:05:57,720
‫of these archways.

92
00:05:57,720 --> 00:06:02,940
‫If they were rotating, we'd have to kind of get inside of them and then move on without getting hit

93
00:06:02,940 --> 00:06:04,860
‫by them, which might be kind of interesting.

94
00:06:04,860 --> 00:06:09,420
‫So I'm adapting my design from what I had originally thought, but that's kind of cool.

95
00:06:09,420 --> 00:06:11,790
‫So we've got a large gate, that's what it's called.

96
00:06:11,790 --> 00:06:19,290
‫Let's go to our content, draw inside a beep sweeper, go to all and search for large underscore gate

97
00:06:19,860 --> 00:06:22,290
‫and I want the one without the force field.

98
00:06:22,320 --> 00:06:26,550
‫So that would be it looks like it's made up of two measures actually.

99
00:06:26,880 --> 00:06:30,390
‫So we've got the gate large and then the gate frame.

100
00:06:30,390 --> 00:06:36,510
‫So let's drag both of these in to the scene and that construct our gate rather nicely.

101
00:06:36,510 --> 00:06:40,740
‫Now I think I'd like to make these a little bit wider.

102
00:06:40,740 --> 00:06:46,980
‫So I'm going to use the scale tool and just extend them a little bit along the x axis and I'm going

103
00:06:46,980 --> 00:06:47,820
‫to save that.

104
00:06:47,820 --> 00:06:51,600
‫Then I'm going to look at our sweeper and we're going to not have it move.

105
00:06:51,600 --> 00:06:55,950
‫So set its platform velocity to zero, but set its rotation.

106
00:06:55,950 --> 00:07:00,660
‫This time I'm going to go in the opposite direction at about -100.

107
00:07:00,660 --> 00:07:04,170
‫So it's going to be a little bit faster and a little bit more challenging because we're later on in

108
00:07:04,170 --> 00:07:09,840
‫the level and then we're going to try and navigate back to our island.

109
00:07:09,840 --> 00:07:13,170
‫So I'm going to click on it and get click go here.

110
00:07:13,500 --> 00:07:18,930
‫And then on top we can start placing down these sweepers.

111
00:07:18,930 --> 00:07:26,580
‫So clear my filter and start getting some sweepers and sticking them on the island and we can rotate

112
00:07:26,580 --> 00:07:32,730
‫them a little bit so that they are all at different offsets from each other and duplicate them with

113
00:07:32,730 --> 00:07:38,190
‫alt a little bit here, like I say, I'm rotating some of them to everything.

114
00:07:38,190 --> 00:07:39,810
‫Start slightly differently.

115
00:07:40,500 --> 00:07:46,590
‫Let's click play from here in the safe zone of our previous platform and then come up and have a look

116
00:07:46,590 --> 00:07:48,690
‫at what these sweepers look like.

117
00:07:48,690 --> 00:07:53,670
‫So yeah, it looks like they could definitely be pushing as if we don't watch ourselves and we might

118
00:07:53,670 --> 00:07:56,340
‫fall off the platform if we're not careful.

119
00:07:56,340 --> 00:08:00,870
‫So we have to be a little bit careful or we're going to fall to our deaths.

120
00:08:00,870 --> 00:08:04,680
‫So it looks like a fun little puzzle with these sweepers.

121
00:08:04,680 --> 00:08:07,890
‫And now all we have to do is put a little end zone in for this.

122
00:08:07,890 --> 00:08:14,610
‫I'm basically going to copy this little courtyard area that they've created here in the standard kit.

123
00:08:14,610 --> 00:08:20,160
‫So I'm going to select the stairs and well, there's quite a few things here that I want to select.

124
00:08:20,160 --> 00:08:23,400
‫Let's see if they've gotten together in the outline of, first of all.

125
00:08:23,400 --> 00:08:27,030
‫So it looks like there is a folder called Castle.

126
00:08:27,160 --> 00:08:33,580
‫So maybe we can select everything that is under that folder so we can right click it and select all

127
00:08:33,580 --> 00:08:34,600
‫descendants.

128
00:08:34,870 --> 00:08:43,240
‫So what I'm going to do is actually use it in place and just move that island up to be at the foot of

129
00:08:43,360 --> 00:08:46,230
‫the island that we have just traversed here.

130
00:08:46,240 --> 00:08:48,240
‫So now it should be possible to play from here.

131
00:08:48,250 --> 00:08:51,190
‫Let's go inside one of the pushers and then try and escape.

132
00:08:51,310 --> 00:08:52,110
‫There we go.

133
00:08:52,120 --> 00:09:00,700
‫We can get up to the Victory Island, and once we've got to the castle, that can be the goal of the

134
00:09:00,700 --> 00:09:01,690
‫entire game.

135
00:09:01,690 --> 00:09:07,570
‫So one thing it looks like I messed up by moving that island is it seems that I've moved the ramp that

136
00:09:07,570 --> 00:09:10,370
‫was under the same folder in the outlier.

137
00:09:10,450 --> 00:09:16,510
‫So the ramp between our rotating platforms and our rotating pushers has been moved.

138
00:09:16,510 --> 00:09:22,960
‫So I've just positioned that back and if we zoom out, we can take a look at the entirety of our level

139
00:09:22,960 --> 00:09:30,220
‫from our start over here moving platforms, pushers, rotators and sweepers all the way to the little

140
00:09:30,220 --> 00:09:32,080
‫victory end zone.

141
00:09:32,080 --> 00:09:38,020
‫So I'm pretty happy that that's a fun level and obviously you should give it to other people to playtest

142
00:09:38,020 --> 00:09:42,190
‫and tweak your ideas and maybe implement a few different level designs.

143
00:09:42,190 --> 00:09:45,910
‫But for now, I'm quite happy with that and I'll see you in the next lecture.

