Nerd For Tech
Published in

Nerd For Tech

Unity Guide

Build your game with Unity

A very quick guide about how to build a game made with Unity

Objective: Build and run a game made with Unity.

Now that we’ve implemented the final boss of the space shooter let’s make an executable build to test and present the game in a production state.

If you want to play my game feel free to visit my itch.io page:

Build settings

In order to create an executable build of the game, let’s click on File > Build Settings and the next window will open.

In this window we’ll be able to see the scenes to be build in our game at the top, if you can’t see any scene listed you can use the Add Open Scenes button to add the current scene or you can drag the scenes from the project folders in the new window:

Once the scenes to be build are added at the top, let’s select the target platform at the left and its properties at the right. In this case, I’ll choose to build my game with the PC, Mac & Linux Standalone option as I’m using Windows.

If you are using a MAC or a Linux operative system you can select the respective target platform at the right side of the window:

And now, before building the executable, let’s open the Player Settings by clicking the button at the left side of the window.

A new window will open and we’ll be able to see properties of the executable to be build like:

  • Company name
  • Product name
  • Version
  • Default icon
  • Default cursor
  • Resolution

It’s important to notice that if you select the fullscreen window mode in the resolution your game needs to have a button or key to exit the game. If it doesn’t have one you’ll need to close the game using another method.

Once that we’ve modified the playable properties let’s get back to the build settings window and click on the Build button at the right. A file explorer window will be prompted and we’ll need to select a folder to store the executable build and its files:

Then, we’ll need to wait until Unity compiles the game files:

Once finished, a new file explorer window will be prompted displaying the folder that we selected for our build:

Finally, we’ll just need to execute the .exe file and we’ll be able to play our game:

And that’s it, we created an executable build of our game with Unity! :D. I’ll see you in the next post, where I’ll be showing how to close a game in Unity using code.

If you want to know more about me, feel free to connect with me on LinkedIn or visit my website :D

--

--

--

NFT is an Educational Media House. Our mission is to bring the invaluable knowledge and experiences of experts from all over the world to the novice. To know more about us, visit https://www.nerdfortech.org/.

Recommended from Medium

Can you BI without centralizing the data? (Episode 1)

Zero2Hero ‘ A journey into software development’ @ _nology.io

5 Key Knowledge Portals Driving The New-Age Digital Workforce

This Is How Culture Impacts Communication

Image of differences of cultures.

Continuous Integration and Delivery for iOS with Jenkins and Fastlane (Part 1)

The talents that you are looking for are just in front of you

Comprehending Python Lists

Linux Remote CLI Flutter Mobile App using python — CGI Programming.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Fernando Alcantara Santana

Fernando Alcantara Santana

A passionate computer technology engineer and Unity developer that is always looking to grow in every aspect of life :).

More from Medium

How to Build an Interactive Security Camera System in Unity

Publishing to the Google Play store

A low-poly knight 3D model!

How to make a Mario Kart game with Unity