Layout - Start Menu

12 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€93.07
List Price:  €130.30
You save:  €37.23
£79.62
List Price:  £111.47
You save:  £31.85
CA$136.60
List Price:  CA$191.24
You save:  CA$54.64
A$151.87
List Price:  A$212.63
You save:  A$60.75
S$135.20
List Price:  S$189.29
You save:  S$54.08
HK$781.33
List Price:  HK$1,093.90
You save:  HK$312.56
CHF 90.72
List Price:  CHF 127.01
You save:  CHF 36.29
NOK kr1,092.46
List Price:  NOK kr1,529.50
You save:  NOK kr437.03
DKK kr694.20
List Price:  DKK kr971.90
You save:  DKK kr277.70
NZ$167.15
List Price:  NZ$234.02
You save:  NZ$66.86
د.إ367.25
List Price:  د.إ514.16
You save:  د.إ146.91
৳10,946.16
List Price:  ৳15,325.07
You save:  ৳4,378.90
₹8,342.71
List Price:  ₹11,680.13
You save:  ₹3,337.42
RM473.95
List Price:  RM663.55
You save:  RM189.60
₦123,487.65
List Price:  ₦172,887.65
You save:  ₦49,400
₨27,847.21
List Price:  ₨38,987.21
You save:  ₨11,140
฿3,679.53
List Price:  ฿5,151.49
You save:  ฿1,471.96
₺3,232.18
List Price:  ₺4,525.18
You save:  ₺1,293
B$511.10
List Price:  B$715.57
You save:  B$204.46
R1,851.52
List Price:  R2,592.21
You save:  R740.68
Лв181.98
List Price:  Лв254.78
You save:  Лв72.80
₩135,881.87
List Price:  ₩190,240.05
You save:  ₩54,358.18
₪371.60
List Price:  ₪520.25
You save:  ₪148.65
₱5,713.97
List Price:  ₱7,999.79
You save:  ₱2,285.82
¥15,308.41
List Price:  ¥21,432.39
You save:  ¥6,123.98
MX$1,693.57
List Price:  MX$2,371.07
You save:  MX$677.49
QR364.01
List Price:  QR509.63
You save:  QR145.62
P1,365.33
List Price:  P1,911.52
You save:  P546.18
KSh13,468.65
List Price:  KSh18,856.65
You save:  KSh5,388
E£4,794.02
List Price:  E£6,711.82
You save:  E£1,917.80
ብር5,699.43
List Price:  ብር7,979.43
You save:  ብር2,280
Kz83,741.62
List Price:  Kz117,241.62
You save:  Kz33,500
CLP$94,755.52
List Price:  CLP$132,661.52
You save:  CLP$37,906
CN¥723.62
List Price:  CN¥1,013.10
You save:  CN¥289.48
RD$5,785.38
List Price:  RD$8,099.76
You save:  RD$2,314.38
DA13,457.99
List Price:  DA18,841.73
You save:  DA5,383.73
FJ$225.30
List Price:  FJ$315.43
You save:  FJ$90.13
Q775.21
List Price:  Q1,085.33
You save:  Q310.11
GY$20,876.73
List Price:  GY$29,228.26
You save:  GY$8,351.52
ISK kr13,989.60
List Price:  ISK kr19,586
You save:  ISK kr5,596.40
DH1,008.69
List Price:  DH1,412.20
You save:  DH403.51
L1,771.31
List Price:  L2,479.90
You save:  L708.59
ден5,730.13
List Price:  ден8,022.42
You save:  ден2,292.28
MOP$803.11
List Price:  MOP$1,124.38
You save:  MOP$321.27
N$1,860.85
List Price:  N$2,605.27
You save:  N$744.41
C$3,673.63
List Price:  C$5,143.23
You save:  C$1,469.60
रु13,311.40
List Price:  रु18,636.50
You save:  रु5,325.09
S/375.46
List Price:  S/525.66
You save:  S/150.20
K383.63
List Price:  K537.10
You save:  K153.47
SAR375.03
List Price:  SAR525.05
You save:  SAR150.02
ZK2,685.42
List Price:  ZK3,759.69
You save:  ZK1,074.27
L463.14
List Price:  L648.42
You save:  L185.27
Kč2,328.17
List Price:  Kč3,259.54
You save:  Kč931.36
Ft36,248.95
List Price:  Ft50,749.98
You save:  Ft14,501.03
SEK kr1,083.98
List Price:  SEK kr1,517.62
You save:  SEK kr433.63
ARS$87,816.53
List Price:  ARS$122,946.66
You save:  ARS$35,130.12
Bs689.12
List Price:  Bs964.79
You save:  Bs275.67
COP$389,940.87
List Price:  COP$545,932.82
You save:  COP$155,991.94
₡50,893.45
List Price:  ₡71,252.86
You save:  ₡20,359.41
L2,475.75
List Price:  L3,466.15
You save:  L990.40
₲747,391.81
List Price:  ₲1,046,378.43
You save:  ₲298,986.62
$U3,833.15
List Price:  $U5,366.56
You save:  $U1,533.41
zł402.67
List Price:  zł563.75
You save:  zł161.08
Already have an account? Log In

Transcript

Welcome back everyone in this video we are going to be creating the layout for our start menu. So from our start menu, we want to be able to select a level and launch a game. So we're just going to be getting the layout for that into place. Before we do there is one little bit I forgot to do in our last video, which was our BP HUD. So I want to make sure we circle back to this before we do our start menu, select your health progress bar, and there were a few things I forgot to set on this. Firstly, let's come under our styles section right down here, click this little drop down menu.

I want to set a background image for this and not really a background image rather a background color. So I want the tint of this to be straight black. Okay, and you can set that to be RGB value of 02 to get straight black. Okay, then if you scroll down a little bit further there is an area called progress changes to be 1.0 for the time being, and you can see right now we've got this blue coloration in there. We want the bar type the bar fill type to be left to right like it currently is. You can see how that will fill up or rather deplete as we lose some health.

I'm going to change my fill color here though, from blue. I'm going to change it to be green. So I'm just going to fill in a hard value here are zero. G is going to be one, B is going to be zero. And that color green is going to represent our health so sorry, I missed that guys. With that make sure you Compile and Save that now you can close out your BP, your W BP HUD and now we are ready to create our start menu.

So First things first here in our content first project UI folder, right click, come under user interface Widget Blueprint. We will call this w BP underscore Start menu, and then double click on him to open him up. And we'll do like we did before where we get all of our widgets into place, and then we will set their details. So first thing I'm going to add down here to our hierarchy is going to be an image, left click and drag this on top of your canvas panel. And I'm simply going to click on it hit f2 and call this background underscore image. Next, I'm going to find a text widget.

And I'm going to drag and drop this onto the canvas panel. Hit f2 on it Call this title underscore text. Next I am going to drag and drop a button down onto our canvas panel and I will call this level underscore one underscore button. We're going to build out our main menu here so our start menu so that you can choose level one to play. After we are finished with this entire project, it should be entirely simple for you to come back and with the knowledge gained at a level two, and level three etc. Only we are just going to start off with one level to click on and play.

And then on this button, I want to add some text so drag and drop this text widget on top of the button like so, and hit up to on this guy and we will call it level underscore zero One underscore text. All right, so with that, I'm going to click this zoom to fit button. And now let's set the details for all these. So let's start off with our background image. And for the anchor here, I'm going to choose this full screen option. And you're gonna see this little flower icon indicating our anchor, kind of split apart.

So there's a corner at each corner. Okay. Next, what I'm going to do is I'm going to set my offset offset right and bottom here to be zero. And zero. What this essentially does is it makes it so that we can have an image that fills up our entire screen. Now, this is where you can get really creative if you were to import some images of your own and they could be JPEG files, they could be PNG files, etc.

You could then place them into this portion of your background image widget to slot in an actual image. Maybe you've got some characters in mind and you've got like a nice scenic image, you want that sort of thing. I'm not going to do that here, but I just wanted to point out where you can do that. Instead, I'm just going to leave a solid color as my background quote unquote image. And I'm going to change this to be a straight color of let's go black. So I'm going to do my tint here.

We'll do straight black, like my soul, and that'll be kind of good. Okay, next, let's choose our text widget here. We will change the text here to read the gallery, because this is gonna be a shooting gallery style game. I didn't know what else to call it. The gallery's just fine. I do want to set the answer anchor for this one to be this top bar, like this.

And now, if I set the offset left here to be zero position y zero offset right to also be zero. And for the size y, I'm just going to change this to be zero as well, this is not going to matter because I'm going to click this size to content box. And what this will do is depending on the size of the content, the size of the contents for this widget, aka the size that I set my font type that is going to determine how big this widget needs to be. So I want this text to be fairly large since this is the title of our screen, so I'm going to set the size to be 175 like that. And what else am I gonna keep? The font family is gonna be fine.

Let's do outline settings. Sure, I am going to change my line settings to be eight here. And the outline color I'm actually going to leave is black. And you may be saying, hey, that's black on black, you can't even see the outline settings. You are correct on that. You cannot see the outline settings, but I'm doing this on purpose because eventually I am going to duplicate this actual Widget Blueprint and I will want that outline setting.

So go ahead and set it here to the outline setting of eight and make it black. And of course, let's make sure that outline color is black. That's all good. Let's actually do a shadow offset here as well. I'm going to set this to be eight in the X and eight in the y shadow color. Make sure that the alpha value is one and again of course you cannot see it with this black background.

But this is to come later. And then for the justification for this, let's set this to be the middle. So that text right there looks all nice and neat. Next, let's select your level Oh, one button and set some parameters for this guy. So the anchor for this, I want to be let's go this middle box. We're going to put this somewhere in the middle of the screen here.

So position x, I want to be zero position y, I want to be 200. The sorry I got that anchor wrong, didn't I? I wanted that to be the very true middle of the screen, not the top middle, the true middle. So let me try that again. position, zero position y 200 somewhere down there. The size x I'm gonna set to be 400 and the size y 150.

Next, I want to set her up this button just a little bit. So with my alignment settings here, point five equals halfway depending on your positional settings, I'm going to set my ex here to be point five, and my wife to be point five as well. Something like that in the middle. Now for the style, I do have some style settings that I do want to set for this. Mainly I got some sounds and stuff I need to slot in. But know that there's a whole bunch of things that you can set for this.

You can set a button style depending on if the button is in a normal phase. Basically, you're just looking at it. You can set a certain color or look to it. You can slot it in an image for it. You can set what your buttons going to look like if you're hovering over it as in your mouse is hovering over it. You can slot in a color or an image.

You can also set what your button looks like if you press your button that is we click on it. So here too You can put in a color of the button or simply put in an image. Now I want to come down here a little bit and I want to slot in a pressed sound and a hovered sound. So this is a real simple place to slot in some sound effects for interacting with this button and I do have a couple in mind for this press sound. I'm going to do a search for click on button Q. And for the hovered sound, I'm going to search for Camera Shutter, that WAV file right there.

Okay, next, and last but not least here I want to select my button here. For the textblock I am going to, let's see our padding settings. I'm all well and good with that. But I do want to change our text here to simply read level one. And under the appearance section, I want to change the color of that text to be a little bit more legible. I'm going to go straight black for that.

You feel free to put what you want. And I do want to change the size of this to be something a lot bigger. Let's try 75. That looks pretty good. And the outline settings I will set that to be seven Sure. No, no, let's not do that.

That's obviously going to look bad. Yeah, let's not do that. We'll just leave it as without any outline setting, I could set an outline, then give it another color. I'm just gonna leave it nice and simple like that. So with that, let's complete pile in save in now we have a start menu layout. Now you could have gotten a lot more fancy with it than I have.

I've only got one button that we're going to click to launch one level. But you can look to add a lot of images back here you can look to eventually add more than one level button to interact with that sort of thing. Anyways, that is gonna do it all for this one guys. We will see you in the next one.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.