Time to build our game.
So to build our game, what we need to do, we need to move over to this top left file.
So just click there and then click on this build profile.
And the shortcut key.
We can see in the right section which is control shift plus P.
So just click there in order to open up the build tab.
And we can see we are in windows.
And what we will do before we build click on this player settings.
In the top you can see.
So just click there and we need to change some settings.
So I'm going to name the company name with my YouTube channel name.
And you can name it to anything that you like, but name it to something else instead of leaving it
to some something like this default company.
So I'm gonna name it to my channel, YouTube channel name, which is bad code.
And we have to name the product or the game name.
And I'm going to call the game name something like Endless Runner or let's call it Great Runner.
I'm gonna name it to something like great Runner, Great Runner, and you can increase the version as
well.
So once you making your game for the second time, then increase this version something like 1.1 and
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
as well.
It's totally up to you.
And if you have a icon of your game, then you can drag it in this slot.
So let's suppose I'm gonna drag something over here to be icon.
So I'm gonna move over to my project tab, uh, then assets, and then I will move over to my sprites
folder.
And we can simply just cut this step.
Builds profile tabs for now.
Let's cut it and we're gonna have this, uh, player settings.
Let's move over to this UI folder.
You have if you have any icon, just drag there.
So I'm going to drag, uh, something like this icon.
Uh great runner.
So I'm gonna drag this.
So let's select that sprite and drag it over to this slot.
Uh says default icon.
So you can just drag it here I don't know.
Are we not able to drag it so you can simply drag a drag or what else you can do?
You you can just click on or click here, say select.
And you can choose the icon that you would like to go with.
So let's suppose I'm gonna go with this icon so we can see the icon by now.
And if you have in this sprites folder then you can just select that icon and you can just drag it here.
I hope you get the idea.
And let's move over to now this icon.
And we have done icon.
Let's move over to this second settings which is says Resolution and presentation.
So it's gonna be full screen window.
So leave it to full screen window I just I have chosen already windowed.
So you don't have to do anything over here.
And you can just uncheck this resize resizable window as well.
But I like this way.
So I'm gonna leave that and let's move over to next section which is our splash image.
So we can just click on this preview in order to see the unity logo as.
And after that our game just loaded up.
And if you don't want the unity logo, then you can just uncheck over here says Shows Unity logo.
And now if we just click on this preview, uh, sorry.
Or we need to drag a logo that we want to see.
So you can just click on this plus icon underneath this logos.
And you can just drag the logo that you want to load up instead of that unity logo.
So you can just drag here.
So let's suppose I want to drag this heart.
So I am going to drag it here.
Or you can simply just click on this select and you can choose the logo that you want.
And now we can just click on this preview button in order to see.
And we can see our custom logo heart.
And after that the just just the game loaded up.
But if you want a site with uh, beside with this uh, uh, unity logo or this heart, then you can
just check this.
So unity logo and then you can just click on this preview in order to see.
And we can see, uh, top of our unity logo.
We have the heart logo, but I don't want my unity logo to be show up.
So I'm going to uncheck this Show Unity logo and that's it.
And we can just move over to other settings by now.
And we don't have anything to do it over here.
So we can just leave that.
But if you're making your game uh, to for another platform example for iOS or Android, then you have
to change so many settings, uh, over in this other settings, uh, you can check out my YouTube channel
for that.
I, I will have, uh, I will have in my Udemy profile so you can check that out.
And also you can reach out to me if you have any question or messages that you want to send me on Udemy,
as well as you can do on YouTube as well, it's totally up to you.
And you can check out my Patreon as well.
And after we have done all all of these things, now we can just click on this car tab in our project
settings.
And in order to make our game, we will move over to one more time top left file.
So just click there and then click on this build profiles and we are ready to build and run our game.
So we need to click on this top right.
We can see, build and run.
So just click there and you need to choose a folder where you want to build your game.
So make sure you just make another folder for your build.
Basically right click then New and Folder and name it to name that folder to something like build.
I already have created a build folder.
You can see it over here.
So let's choose that folder and then click on this select folder.
And as soon as we're gonna select folder the game will be processed to build it.
So we can see our game is now building.
And after that we will able to play our game.
So just wait.
And once our build is ready, we are ready to play our game.
So it's gonna take a moment.
Something around 2 to 5 minutes.
Uh, or it's gonna take a little moment.
And now our game is building and what I'm gonna do.
So just wait a moment.
I'm gonna turn down my volume a little bit.
I'm gonna shrink down my volume, something like zero.
And I'm going to resize my screen by selecting this.
Sorry.
I'm going to choose my this one.
I'm gonna shrink down my screen gameplay screen something like this much.
And we can see this is by far.
And we can just click on this play button in order to play our game.
And we can see we're just playing our game.
We can we can see we're making jump and we can shoot.
So basically this is cool thing and we can collect this coin as well.
So let's collect this.
I think we're just making our player jump too much.
And we need to increase our gravity a little bit.
And we can also see our background just getting weirdly spawning.
So you can adjust the background layer perfectly the next one.
And it's not going to be a big deal at all.
So you can just simply do it.
And we can see we can just kill this enemies.
Sorry.
We have error and we can.
So this is fine.
And we can just kill this enemy.
So let's kill this one as well.
Sorry if we just kidding.
And we can just kill.
And this is fine.
And we can say with the the time over just getting speed up, as you can see.
So I hope you get the idea by now.
So I'm gonna cut this step.
And if you have any question, then you can let me know, uh, through Udemy messages and you can check
out my YouTube channel as well.
If you have any further question, you can comment down below, and you can check out my YouTube and
Patreon as well.
I have so many projects and uh, and tutorial in my YouTube channel as well as you gonna find it on
my Patreon.
So I hope you enjoyed this course and I will see you in the next course.
So okay, so goodbye for now.