WEBVTT

00:00.080 --> 00:02.080
Time to build our game.

00:02.080 --> 00:06.760
So to build our game, what we need to do, we need to move over to this top left file.

00:06.760 --> 00:09.840
So just click there and then click on this build profile.

00:09.840 --> 00:10.840
And the shortcut key.

00:10.880 --> 00:14.840
We can see in the right section which is control shift plus P.

00:14.840 --> 00:18.840
So just click there in order to open up the build tab.

00:18.840 --> 00:21.120
And we can see we are in windows.

00:21.440 --> 00:25.320
And what we will do before we build click on this player settings.

00:25.320 --> 00:26.600
In the top you can see.

00:26.600 --> 00:29.320
So just click there and we need to change some settings.

00:29.440 --> 00:32.840
So I'm going to name the company name with my YouTube channel name.

00:32.840 --> 00:38.240
And you can name it to anything that you like, but name it to something else instead of leaving it

00:38.240 --> 00:41.640
to some something like this default company.

00:41.640 --> 00:46.720
So I'm gonna name it to my channel, YouTube channel name, which is bad code.

00:47.080 --> 00:50.480
And we have to name the product or the game name.

00:50.480 --> 00:57.520
And I'm going to call the game name something like Endless Runner or let's call it Great Runner.

00:57.560 --> 01:05.410
I'm gonna name it to something like great Runner, Great Runner, and you can increase the version as

01:05.410 --> 01:05.770
well.

01:05.890 --> 01:12.410
So once you making your game for the second time, then increase this version something like 1.1 and

01:12.410 --> 01:19.850
second time you can just do 1.2, and the third time you can just do 1.3, but you can set it to 2.1

01:19.850 --> 01:20.290
as well.

01:20.290 --> 01:21.570
It's totally up to you.

01:21.570 --> 01:26.170
And if you have a icon of your game, then you can drag it in this slot.

01:26.210 --> 01:30.090
So let's suppose I'm gonna drag something over here to be icon.

01:30.090 --> 01:36.490
So I'm gonna move over to my project tab, uh, then assets, and then I will move over to my sprites

01:36.490 --> 01:37.010
folder.

01:37.530 --> 01:40.010
And we can simply just cut this step.

01:40.130 --> 01:42.010
Builds profile tabs for now.

01:42.210 --> 01:45.370
Let's cut it and we're gonna have this, uh, player settings.

01:45.770 --> 01:48.130
Let's move over to this UI folder.

01:48.650 --> 01:51.450
You have if you have any icon, just drag there.

01:51.450 --> 01:56.450
So I'm going to drag, uh, something like this icon.

01:57.210 --> 01:58.610
Uh great runner.

01:58.650 --> 01:59.850
So I'm gonna drag this.

02:00.130 --> 02:03.570
So let's select that sprite and drag it over to this slot.

02:03.650 --> 02:04.970
Uh says default icon.

02:04.970 --> 02:08.370
So you can just drag it here I don't know.

02:08.770 --> 02:15.170
Are we not able to drag it so you can simply drag a drag or what else you can do?

02:15.210 --> 02:18.770
You you can just click on or click here, say select.

02:18.770 --> 02:22.450
And you can choose the icon that you would like to go with.

02:22.450 --> 02:27.330
So let's suppose I'm gonna go with this icon so we can see the icon by now.

02:27.330 --> 02:34.050
And if you have in this sprites folder then you can just select that icon and you can just drag it here.

02:34.930 --> 02:36.490
I hope you get the idea.

02:36.490 --> 02:39.690
And let's move over to now this icon.

02:39.690 --> 02:41.330
And we have done icon.

02:41.450 --> 02:46.530
Let's move over to this second settings which is says Resolution and presentation.

02:46.530 --> 02:48.530
So it's gonna be full screen window.

02:48.530 --> 02:52.970
So leave it to full screen window I just I have chosen already windowed.

02:53.450 --> 02:56.890
So you don't have to do anything over here.

02:56.890 --> 03:01.090
And you can just uncheck this resize resizable window as well.

03:01.090 --> 03:02.530
But I like this way.

03:02.530 --> 03:07.770
So I'm gonna leave that and let's move over to next section which is our splash image.

03:08.010 --> 03:13.020
So we can just click on this preview in order to see the unity logo as.

03:13.060 --> 03:15.780
And after that our game just loaded up.

03:15.980 --> 03:22.060
And if you don't want the unity logo, then you can just uncheck over here says Shows Unity logo.

03:22.060 --> 03:25.220
And now if we just click on this preview, uh, sorry.

03:25.420 --> 03:28.260
Or we need to drag a logo that we want to see.

03:28.260 --> 03:31.740
So you can just click on this plus icon underneath this logos.

03:31.740 --> 03:37.140
And you can just drag the logo that you want to load up instead of that unity logo.

03:37.140 --> 03:38.860
So you can just drag here.

03:38.860 --> 03:41.060
So let's suppose I want to drag this heart.

03:41.060 --> 03:42.780
So I am going to drag it here.

03:42.820 --> 03:47.540
Or you can simply just click on this select and you can choose the logo that you want.

03:47.580 --> 03:51.180
And now we can just click on this preview button in order to see.

03:51.220 --> 03:53.780
And we can see our custom logo heart.

03:53.780 --> 03:56.900
And after that the just just the game loaded up.

03:57.100 --> 04:03.860
But if you want a site with uh, beside with this uh, uh, unity logo or this heart, then you can

04:03.860 --> 04:05.260
just check this.

04:05.260 --> 04:09.660
So unity logo and then you can just click on this preview in order to see.

04:09.700 --> 04:12.620
And we can see, uh, top of our unity logo.

04:12.660 --> 04:18.270
We have the heart logo, but I don't want my unity logo to be show up.

04:18.270 --> 04:21.710
So I'm going to uncheck this Show Unity logo and that's it.

04:21.710 --> 04:24.590
And we can just move over to other settings by now.

04:24.750 --> 04:27.830
And we don't have anything to do it over here.

04:27.830 --> 04:29.270
So we can just leave that.

04:29.270 --> 04:37.390
But if you're making your game uh, to for another platform example for iOS or Android, then you have

04:37.390 --> 04:43.870
to change so many settings, uh, over in this other settings, uh, you can check out my YouTube channel

04:43.870 --> 04:44.550
for that.

04:44.590 --> 04:50.830
I, I will have, uh, I will have in my Udemy profile so you can check that out.

04:50.830 --> 04:57.790
And also you can reach out to me if you have any question or messages that you want to send me on Udemy,

04:57.830 --> 05:02.150
as well as you can do on YouTube as well, it's totally up to you.

05:02.150 --> 05:04.830
And you can check out my Patreon as well.

05:04.870 --> 05:10.790
And after we have done all all of these things, now we can just click on this car tab in our project

05:10.790 --> 05:11.390
settings.

05:11.390 --> 05:15.950
And in order to make our game, we will move over to one more time top left file.

05:15.950 --> 05:22.070
So just click there and then click on this build profiles and we are ready to build and run our game.

05:22.070 --> 05:23.830
So we need to click on this top right.

05:23.830 --> 05:25.430
We can see, build and run.

05:25.430 --> 05:30.070
So just click there and you need to choose a folder where you want to build your game.

05:30.550 --> 05:33.670
So make sure you just make another folder for your build.

05:33.710 --> 05:39.390
Basically right click then New and Folder and name it to name that folder to something like build.

05:39.430 --> 05:41.910
I already have created a build folder.

05:41.910 --> 05:43.310
You can see it over here.

05:43.310 --> 05:46.990
So let's choose that folder and then click on this select folder.

05:46.990 --> 05:53.270
And as soon as we're gonna select folder the game will be processed to build it.

05:53.270 --> 05:56.110
So we can see our game is now building.

05:57.150 --> 05:59.990
And after that we will able to play our game.

06:03.710 --> 06:04.630
So just wait.

06:04.630 --> 06:08.990
And once our build is ready, we are ready to play our game.

06:08.990 --> 06:10.510
So it's gonna take a moment.

06:10.510 --> 06:12.830
Something around 2 to 5 minutes.

06:13.230 --> 06:15.710
Uh, or it's gonna take a little moment.

06:16.070 --> 06:20.710
And now our game is building and what I'm gonna do.

06:21.830 --> 06:23.880
So just wait a moment.

06:24.680 --> 06:27.520
I'm gonna turn down my volume a little bit.

06:27.760 --> 06:30.880
I'm gonna shrink down my volume, something like zero.

06:31.360 --> 06:35.520
And I'm going to resize my screen by selecting this.

06:35.560 --> 06:36.000
Sorry.

06:36.680 --> 06:38.560
I'm going to choose my this one.

06:39.440 --> 06:44.400
I'm gonna shrink down my screen gameplay screen something like this much.

06:45.360 --> 06:47.680
And we can see this is by far.

06:47.680 --> 06:51.280
And we can just click on this play button in order to play our game.

06:51.280 --> 06:53.560
And we can see we're just playing our game.

06:53.560 --> 06:57.640
We can we can see we're making jump and we can shoot.

06:57.640 --> 07:02.040
So basically this is cool thing and we can collect this coin as well.

07:02.040 --> 07:03.280
So let's collect this.

07:03.480 --> 07:06.320
I think we're just making our player jump too much.

07:06.320 --> 07:09.120
And we need to increase our gravity a little bit.

07:09.120 --> 07:13.640
And we can also see our background just getting weirdly spawning.

07:13.640 --> 07:17.640
So you can adjust the background layer perfectly the next one.

07:17.640 --> 07:20.560
And it's not going to be a big deal at all.

07:20.560 --> 07:22.280
So you can just simply do it.

07:22.960 --> 07:25.520
And we can see we can just kill this enemies.

07:25.720 --> 07:26.360
Sorry.

07:26.440 --> 07:28.520
We have error and we can.

07:29.280 --> 07:30.960
So this is fine.

07:31.840 --> 07:33.640
And we can just kill this enemy.

07:34.400 --> 07:36.520
So let's kill this one as well.

07:37.240 --> 07:38.880
Sorry if we just kidding.

07:40.960 --> 07:42.720
And we can just kill.

07:43.480 --> 07:44.680
And this is fine.

07:46.160 --> 07:51.600
And we can say with the the time over just getting speed up, as you can see.

07:51.600 --> 07:53.720
So I hope you get the idea by now.

07:54.200 --> 07:55.520
So I'm gonna cut this step.

07:56.120 --> 08:02.960
And if you have any question, then you can let me know, uh, through Udemy messages and you can check

08:02.960 --> 08:04.880
out my YouTube channel as well.

08:04.880 --> 08:11.560
If you have any further question, you can comment down below, and you can check out my YouTube and

08:11.560 --> 08:12.840
Patreon as well.

08:12.840 --> 08:21.400
I have so many projects and uh, and tutorial in my YouTube channel as well as you gonna find it on

08:21.400 --> 08:22.440
my Patreon.

08:22.440 --> 08:27.880
So I hope you enjoyed this course and I will see you in the next course.

08:28.000 --> 08:30.480
So okay, so goodbye for now.
