WEBVTT

00:07.000 --> 00:07.870
Welcome back.

00:07.870 --> 00:11.950
And now we have load slot enter name and load slot vacant.

00:11.950 --> 00:17.140
We're going to want a new one which we have a copy right here.

00:17.140 --> 00:18.970
It's called load slot taken.

00:18.970 --> 00:20.980
We're going to want some stuff here.

00:20.980 --> 00:23.320
Now I'm going to change the background.

00:23.320 --> 00:29.560
I'm going to use the same background that our others are using this one here am I load slot BG I'm going

00:29.560 --> 00:33.430
to browse to it and come over here and set that as my background.

00:33.430 --> 00:35.140
Just so we're consistent here.

00:35.650 --> 00:39.250
Now for this slot I'd like to show several pieces of information.

00:39.250 --> 00:44.440
When someone saves the game they're saving to a slot and they're going to save personal info.

00:44.470 --> 00:49.690
I'd like to save their name, so I'm going to have text here for the player name, but I'm also going

00:49.690 --> 00:53.170
to show the player's level and the map that they're on.

00:53.650 --> 00:58.990
So that's the three pieces of information I'd like to show for a taken slot.

00:59.410 --> 01:03.070
So for that reason I'm going to add a wrap box.

01:03.070 --> 01:05.830
A wrap box will make it easy to have a name.

01:05.830 --> 01:12.310
And then level with perhaps more than one widget, like a text widget that says level, and then another

01:12.310 --> 01:14.290
text widget for the number.

01:14.290 --> 01:18.850
So we can have multiple widgets on the same line perhaps.

01:18.850 --> 01:20.920
So let's get a wrap box on here.

01:23.450 --> 01:24.920
Going to set it to fill.

01:25.750 --> 01:28.390
And I'm going to call this rat box route.

01:30.980 --> 01:32.390
And in the rat box.

01:32.390 --> 01:35.840
First thing is going to be the name of the player.

01:35.840 --> 01:42.110
So I'm going to drag a regular old text in here that says player name, but it's never going to say

01:42.110 --> 01:42.680
player name.

01:42.680 --> 01:47.990
If we ever see this taken slot, then this will be loaded in with the player's actual name.

01:47.990 --> 01:52.160
So I'm going to change this font to Amaranth Regular.

01:52.190 --> 01:55.520
I'll leave it at 24 for the font size.

01:55.610 --> 02:00.290
I'll give it a outline size of one so we can see that black outline.

02:01.370 --> 02:03.620
And this rat box could use some padding.

02:03.620 --> 02:07.070
We'll make it 20 and we have the player name.

02:07.070 --> 02:11.060
Now under the player name I'm going to have a spacer.

02:12.860 --> 02:13.970
Right there.

02:14.660 --> 02:16.880
And I'll just increase the size x.

02:16.880 --> 02:18.650
So it goes to the next line.

02:18.650 --> 02:21.080
And I'm going to increase the size y a little.

02:21.080 --> 02:24.650
And underneath player name we're going to have another text.

02:26.530 --> 02:33.520
I'm just going to copy this text control C select the spacer control V and the first one I'm going to

02:33.520 --> 02:36.160
call text underscore player name.

02:36.370 --> 02:40.000
The next one is going to be text underscore.

02:41.720 --> 02:50.150
Level, but it's going to say level with a colon and a space, and I'm going to have another text right

02:50.150 --> 02:51.050
after it.

02:51.050 --> 02:53.870
So I'm going to actually copy and paste it.

02:53.870 --> 02:58.130
And this one is going to actually say the value of the level.

02:58.130 --> 03:01.220
So we're going to say text underscore level value.

03:01.490 --> 03:03.260
And this will have the number.

03:03.260 --> 03:09.470
So like 1 or 19 or whatever I'm going to set it to one by default.

03:09.770 --> 03:12.890
Now I'm going to copy the spacer and paste it beneath here.

03:12.890 --> 03:16.220
And after that spacer we're going to have two more text blocks.

03:16.220 --> 03:17.930
So I'll copy both of these.

03:17.930 --> 03:20.900
But this one is going to be the map.

03:20.900 --> 03:23.180
So text underscore map.

03:24.240 --> 03:27.450
And it's just going to say map colon space.

03:27.450 --> 03:30.030
And this one is going to be the map value.

03:30.030 --> 03:33.180
So text underscore map value.

03:33.750 --> 03:36.450
And this will be whichever map we're on.

03:36.450 --> 03:40.440
So we can say dungeon one for example.

03:41.300 --> 03:49.010
So this way we can see who the player is, what level they're at, what map they're in, and the last

03:49.010 --> 03:53.180
thing we're going to have after another spacer is another wide button.

03:54.210 --> 03:56.460
And the wide button can go down here.

03:56.460 --> 04:03.270
We can set its horizontal alignment to center and we can check fill empty space.

04:03.270 --> 04:05.160
And now we have this button.

04:05.160 --> 04:07.980
We can bring it up just a bit.

04:07.980 --> 04:12.390
And this button is going to say select slot.

04:14.090 --> 04:17.660
So this is what a taken slot looks like.

04:17.660 --> 04:20.870
So now we can better see kind of what we're doing here.

04:20.870 --> 04:22.160
We have a vacant slot.

04:22.160 --> 04:24.050
They'll all start vacant at first.

04:24.050 --> 04:28.280
As soon as you click on the vacant slot it's going to change to enter name.

04:28.430 --> 04:33.470
As soon as you enter a name and click New Slot, then it's going to change to taken.

04:33.470 --> 04:41.000
And then you can have this taken slot selected and you can load into that dungeon or whatever level

04:41.000 --> 04:45.620
it is at that level, and you can load up all your stats.

04:46.470 --> 04:52.800
So this gives us three nice little widgets we can add to an overall menu.

04:53.220 --> 04:59.370
So that's what we're going to do next is make that menu that we can put into the screen here.

04:59.370 --> 05:05.220
And give the user the option to start a new game or load a saved game.

05:05.580 --> 05:06.450
Awesome job.

05:06.450 --> 05:07.440
I'll see you soon.
