﻿1
00:00:04,390 --> 00:00:05,770
‫Hello and welcome.

2
00:00:05,770 --> 00:00:06,430
‫In this lecture.

3
00:00:06,430 --> 00:00:08,680
‫It's all about this main area here.

4
00:00:08,680 --> 00:00:09,280
‫The viewport.

5
00:00:09,280 --> 00:00:16,150
‫We're going to be learning how we can navigate around it, how we can play our game, and how to create

6
00:00:16,150 --> 00:00:17,650
‫our first project.

7
00:00:17,650 --> 00:00:18,730
‫Let's dive in.

8
00:00:19,560 --> 00:00:24,100
‫So here we are at the new project window that we've seen in previous lectures.

9
00:00:24,120 --> 00:00:28,350
‫Now, what we want to do here is to select in the left hand pane.

10
00:00:28,350 --> 00:00:30,510
‫We're making a games project.

11
00:00:30,510 --> 00:00:34,470
‫There's different template projects for different industries.

12
00:00:34,470 --> 00:00:41,520
‫We want to go to the third person template and then we want to select a blueprint here.

13
00:00:41,520 --> 00:00:46,740
‫We'll talk later on in the section about Blueprint and C++ and the differences.

14
00:00:47,130 --> 00:00:50,400
‫Then the Target platform will leave it desktop quality preset.

15
00:00:50,400 --> 00:00:52,770
‫Let's leave that at maximum for now.

16
00:00:53,190 --> 00:00:56,880
‫Ray will leave Ray tracing off and start a content off.

17
00:00:56,880 --> 00:01:01,650
‫If those are checked for you, especially starter content, then just go ahead and uncheck it.

18
00:01:01,650 --> 00:01:04,230
‫It will make creating the project much faster for us.

19
00:01:04,230 --> 00:01:09,390
‫And as for ray tracing, well, that depends on whether you have a ray tracing capable GPU.

20
00:01:09,390 --> 00:01:11,640
‫If you're not sure, leave it unchecked.

21
00:01:11,820 --> 00:01:14,040
‫Next up, we need to give it a project location.

22
00:01:14,040 --> 00:01:18,900
‫I've already selected mine, but if you click the little folder tab next to it, you can browse to your

23
00:01:18,900 --> 00:01:21,240
‫project location and click Select Folder.

24
00:01:21,360 --> 00:01:23,700
‫And then I'm going to give my project name.

25
00:01:23,700 --> 00:01:27,780
‫It has to have no spaces and be all basically English characters.

26
00:01:27,780 --> 00:01:34,110
‫So Intro project for me, there's a maximum length that you can have here and there are some restrictions,

27
00:01:34,110 --> 00:01:40,260
‫but it will tell you if you enter something wrong, let's go ahead and hit create and you can see that

28
00:01:40,260 --> 00:01:40,860
‫in the folder.

29
00:01:40,860 --> 00:01:46,320
‫It started creating some files already and if you didn't include the start of content, this should

30
00:01:46,320 --> 00:01:52,050
‫load up fairly quickly and once it loads up this is what you're going to be greeted with.

31
00:01:52,080 --> 00:01:56,460
‫The big area in the middle is the one we're going to focus on for this lecture.

32
00:01:56,460 --> 00:02:03,180
‫It's called The Viewport, and it gives you a 3D preview of the level that we've currently got open.

33
00:02:03,180 --> 00:02:06,720
‫You can see the name of the level in the tab is the third person map.

34
00:02:07,080 --> 00:02:13,590
‫And we can play this level by going to the toolbar and the green play button hitting that, and you're

35
00:02:13,590 --> 00:02:18,870
‫going to start off as this third person character to activate and control the character.

36
00:02:18,870 --> 00:02:23,220
‫It did say up here at the top of the viewport that you need to click into the viewport and then your

37
00:02:23,220 --> 00:02:25,740
‫mouse will control which way you are looking.

38
00:02:26,100 --> 00:02:33,540
‫Sad keys will help move you around and you can hit, jump and generally traverse the level as you would

39
00:02:33,540 --> 00:02:37,410
‫expect to be able to traverse a third person map.

40
00:02:37,440 --> 00:02:41,520
‫You've even got these blue blocks that will interact and be pushed around by you.

41
00:02:41,520 --> 00:02:48,330
‫And generally you can have a bit of fun now to stop playing and to release your mouse and carry on working

42
00:02:48,330 --> 00:02:49,170
‫with the unreal editor.

43
00:02:49,170 --> 00:02:51,360
‫We have to hit the escape key.

44
00:02:51,750 --> 00:02:57,660
‫And you notice that my viewpoint in that map has changed to where I just was when I was playing.

45
00:02:57,660 --> 00:03:04,050
‫So how do I go about navigating in this space while I am not playing?

46
00:03:04,050 --> 00:03:05,100
‫Because that's something we want to do.

47
00:03:05,130 --> 00:03:06,270
‫We want to build these maps.

48
00:03:06,270 --> 00:03:09,120
‫We want to create a world.

49
00:03:09,120 --> 00:03:11,010
‫We need to be able to explore it.

50
00:03:11,010 --> 00:03:17,490
‫Well, the easiest way is to right click inside the viewport and it will grab hold of your mouse pointer.

51
00:03:17,490 --> 00:03:19,680
‫And you can pan around.

52
00:03:19,680 --> 00:03:23,940
‫You can look around just like you would in a first person shooter, for example.

53
00:03:23,940 --> 00:03:28,290
‫And you can move around like you would in a first person shooter with sad keys.

54
00:03:28,290 --> 00:03:32,250
‫You can float around as long as you've got that right mouse button held down.

55
00:03:32,520 --> 00:03:39,930
‫And you can also go up and down with the Q and E keys as well, and that will allow you to very easily

56
00:03:39,930 --> 00:03:40,770
‫navigate around.

57
00:03:40,770 --> 00:03:46,290
‫This is by far the easiest version of navigating in the 3D viewport.

58
00:03:46,290 --> 00:03:50,970
‫There are a couple of other options you can left click, which has a bit more of a restricted movement,

59
00:03:50,970 --> 00:03:54,000
‫keeps you on the ground plain and doesn't look up and down.

60
00:03:54,000 --> 00:03:58,410
‫And there's the middle mouse button which kind of pans you around like that, which might be useful

61
00:03:58,410 --> 00:04:00,150
‫in some environments.

62
00:04:00,450 --> 00:04:04,980
‫Now if while you've been playing around in this viewport, things have felt a bit sluggish to you and

63
00:04:04,980 --> 00:04:06,810
‫it feels like the engine's going slowly.

64
00:04:06,810 --> 00:04:13,140
‫Then here's a little trick for you if you go to your settings cog in the top right hand corner and then

65
00:04:13,140 --> 00:04:16,410
‫you scroll on down to the engine scalability settings.

66
00:04:16,410 --> 00:04:24,090
‫You can check between different quality settings here to affect how quickly your your computer is able

67
00:04:24,090 --> 00:04:25,560
‫to render the viewport.

68
00:04:25,560 --> 00:04:30,390
‫So as you can see in the top left of my viewport, you can see the scalability has been set to high

69
00:04:30,390 --> 00:04:36,240
‫because my GPU can't quite handle the power of Unreal five, so I have to dial it back just a little

70
00:04:36,240 --> 00:04:36,690
‫bit.

71
00:04:36,690 --> 00:04:41,400
‫It's also worth noting that a lot of this interface is highly configurable.

72
00:04:41,760 --> 00:04:47,820
‫These panels, these little tabs, mini tabs here can be undocked and moved around in the viewport and

73
00:04:47,820 --> 00:04:49,260
‫docked into different places.

74
00:04:49,260 --> 00:04:51,150
‫They can be entirely closed.

75
00:04:51,150 --> 00:04:56,730
‫And if you ever lose a panel and you're not sure how to get it back, the easiest thing to do is go

76
00:04:56,730 --> 00:05:03,360
‫up to the window menu, go down to load layout and hit default editor layout, and it's going to just

77
00:05:03,360 --> 00:05:06,960
‫pop back to the default view that we're started with.

78
00:05:06,960 --> 00:05:11,280
‫So I'd like to challenge you to practice your flying skills in the viewport.

79
00:05:11,280 --> 00:05:18,880
‫So navigate to the four different corners of our map and try and look back at the character there's.

80
00:05:19,140 --> 00:05:25,400
‫A character actually in the scene, but you can see where the character starts is this little flag area.

81
00:05:25,410 --> 00:05:28,650
‫So look back towards there once you've got to a corner.

82
00:05:28,740 --> 00:05:31,680
‫And which control scheme do you find the most comfortable?

83
00:05:31,680 --> 00:05:36,450
‫Try out the different ones, the different mouse clicks and see which feels the best.

84
00:05:36,480 --> 00:05:38,280
‫Pause the video and have a go.

85
00:05:41,380 --> 00:05:42,100
‫Okay.

86
00:05:42,100 --> 00:05:42,910
‫Welcome back.

87
00:05:42,910 --> 00:05:47,890
‫So I'm going to use the right mouse button because that's the one I feel most comfortable with.

88
00:05:47,890 --> 00:05:51,010
‫And I'm going to zoom off to a particular corner.

89
00:05:51,100 --> 00:05:56,350
‫And it's worth noting that you can change the speed of the camera movement by while you've got the right

90
00:05:56,350 --> 00:05:57,160
‫mouse button down.

91
00:05:57,160 --> 00:06:02,170
‫You can scroll the scroll wheel and scrolling it one way will make it slower and the other way will

92
00:06:02,170 --> 00:06:03,340
‫make it faster.

93
00:06:03,530 --> 00:06:08,140
‫Then we can look back at the center, we can go scroll up, scroll down a little bit, and you can see

94
00:06:08,140 --> 00:06:10,570
‫you can even pass through walls while you're in the viewport.

95
00:06:10,570 --> 00:06:13,900
‫You're not restricted to the rules of physics.

96
00:06:14,440 --> 00:06:16,750
‫You're just navigating around in the viewport.

97
00:06:17,050 --> 00:06:18,670
‫Okay, so that's me done.

98
00:06:18,670 --> 00:06:24,580
‫You have a go get comfortable with the control scheme and navigating around in the viewport.

99
00:06:24,580 --> 00:06:25,840
‫We're going to be doing it a lot.

100
00:06:25,840 --> 00:06:30,190
‫And don't worry if you don't quite feel it just yet, we're going to get there because you're going

101
00:06:30,190 --> 00:06:32,110
‫to do a lot of practice.

102
00:06:32,140 --> 00:06:32,920
‫Great stuff.

103
00:06:32,920 --> 00:06:34,990
‫I'm going to see you in the next lecture.

